JNEXT socket with .Net TCP Server

4 views
Skip to first unread message

Pinal

unread,
Feb 14, 2008, 4:02:07 PM2/14/08
to JNEXT discussion group
Hi,

I am trying to make use of JNEXT socket with a .Net TCP Server. I am
able get the JNEXT socket to connect to the server and the server show
a new client connection, but when I send a message from the server to
the connected client, the JNEXT socket does not get it. To make sure
that the server was sending the data, I created a .Net TCP client and
connected to the server and this client got all the messages sent by
the server. I tried the included server.pl script and the JNEXT socket
works fine with it and gets all the messages sent by the server. Any
ideas why this could be?

Thanks!

Tzury

unread,
Feb 15, 2008, 1:28:32 AM2/15/08
to JNEXT discussion group
Try to end your message with '\r\n'.

Pinal

unread,
Feb 15, 2008, 8:15:00 AM2/15/08
to JNEXT discussion group
That did it! I had to append "Environment.NewLine" to the message I
wanted to send and the JNEXT client socket got it. Thanks a lot!
> > Thanks!- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages