2 Attachment(s)
Simple client server application using tcpsocket and tcpserver doesn't work
hello, i'm new here...
i have a problem. i want to send data from a client to a server, but i think there is an error in my code... it does'nt work.can u have a look please? i'm sure there's something wrong, but i think 2 or 3 lines of code... please... it's for my university exam, i think it's not difficult at all! the code i attached.
thanks
Attachment 5619
Attachment 5620
Re: Simple client server application using tcpsocket and tcpserver doesn't work
Quote:
Originally Posted by
alfrsca
i want to send data from a client to a server, but i think there is an error in my code...
This is probably thought correctly :).
It would be nice if you told what exactly doesn't work. What have you tried so far, which examples have you looked at to try and solve this issue? Did you debug your code? What happens that shouldn't happen or what doesn't happen that should happen?
Quote:
it's for my university exam, i think it's not difficult at all!
I'd say that you should be able to solve the issue yourself. There isn't a lot of code to debug.
And a general note: pick a coding style. Your code is a mess...