Jump to content
Sign in to follow this  

TCP Disconnect with server/client

Recommended Posts



I'm doing a server script and it's supposed to reiceve connections with data like "~~command;info1;info2;infox".

The client script do four connections with this server, send the data, reiceve the response and 'close the connect'*.

*Close the connect: Server side after sends the data: "TCPCloseSocket($ConnectedSocket); $ConnectedSocket = -1"; but after it, the TCP isn't restarting and isn't accepting new connections with new commands...

What can it be?

OBS: I've used the TCPCloseSocket Server Script to make my script, doing changes.

Thanks!! :)

Edited by Caiol

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this