• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EN Net module how to close a socket

Status
Not open for further replies.

SimoBot

Insider
Insider
As the title states, how can i close a connection after i connected?
And are there other parameters other then host and port?
@flyth we need a more detailed documentation whenever you have time :)
 

Raphraph

Donor
is awesome!
Contributor
Insider
Hey, I tried to figure out which functions exists, and I found those:
- Net object has only one function "connect"
- NetClient object (which is returned after executing .connect) has functions: "close", "lock", "on", "unlock" and "write"
Try using the close method. :)
 
Status
Not open for further replies.
Top