Click here to Skip to main content
15,669,040 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How to send arebic data using .net socket
Sergey Alexandrovich Kryukov 27-Jun-15 2:27am    
"Arabic"? Anything else? What's the problem?
Richard MacCutchan 27-Jun-15 4:30am    
The same way you would send any other type of data. Remember, as the data is transferred between server and client, it has no meaning, it is just a stream of bits. It is only at each end that it needs to be understood to have any meaning.
rajan K 27-Jun-15 14:06pm    
"هل سبق نقل دم" This is the string i am trying to send

Private _mySocket As Socket
Dim bytes() As Byte = System.Text.Encoding.ASCII.GetBytes(data)
_mySocket.Send(bytes, bytes.Length, SocketFlags.None)
This is my code to send data .. it shows question marks on server
Richard MacCutchan 28-Jun-15 3:02am    
That is because you are not using the correct font and character encoding to display it.
rajan K 28-Jun-15 3:38am    
Thanq Richard

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900