What is the use of socket

Started by KAKAN, Aug 07, 2015, 11:07 AM

Previous topic - Next topic

KAKAN

What is the use of this sockets, plz tell me

## NewSocket
## Socket.Connect
## Socket.Delete
## Socket.Disconnect
## Socket.Send
## Socket.SendClient
## Socket.SetLostConnFunc
## Socket.SetNewConnFunc
## Socket.Start
## Socket.Stop
oh no

ysc3839

You can see the source code. Here I give you the arguments of each function.
CSquirrelSockets NewSocket(string pszDataFunc)

CSquirrelSockets
    bool Connect(string szHost, int usPort)
    void Disconnect(int ucConn)
    void Send(string sz)
    void SendClient(string sz, int ucConn)
    void SetLostConnFunction(string sz)
    void SetNewConnFunc(string sz)
    bool Start(int usPort, int usMaxConns)
    void Stop()
    void Delete()

source code https://bitbucket.org/stormeus/0.4-sockets/

PlayerX

It is usually to connect to IRC.
If some see me on a server and see that I'm not from Argentina, is an impostor >_>.
Playing since 9 years.

Thijn

I've filled in the wiki.
Once the plugin gets a bug fixed I will post the example on there.

KAKAN

Okay Thanks, Solved, Topic Locked!
oh no