H
Hasan O
Hi ,
maybe it is not the right place to ask .
Hi , i have problem about sending data over socket . It waits for another
socket.send
// str = Encoding.ASCII.GetBytes("hello");
socket.Send(str,0,str.Length,SocketFlags.None);
socket.Receive(strincome,0,socket.Available,SocketFlags.None); // return
"hello to you "
// str =Encoding.ASCII.GetBytes( "how_are_you ");
socket.Send(str,0,str.Length,SocketFlags.None);
socket.Receive(strincome,0,socket.Available,SocketFlags.None);// return
"fine"
it sends like this "hellohow_are_you" , but it is wrong , how can i solve it
?
maybe it is not the right place to ask .
Hi , i have problem about sending data over socket . It waits for another
socket.send
// str = Encoding.ASCII.GetBytes("hello");
socket.Send(str,0,str.Length,SocketFlags.None);
socket.Receive(strincome,0,socket.Available,SocketFlags.None); // return
"hello to you "
// str =Encoding.ASCII.GetBytes( "how_are_you ");
socket.Send(str,0,str.Length,SocketFlags.None);
socket.Receive(strincome,0,socket.Available,SocketFlags.None);// return
"fine"
it sends like this "hellohow_are_you" , but it is wrong , how can i solve it
?