winsocks

new topic     » topic index » view thread      » older message » newer message

rehi all,

I am trying to write some code to talk to other apps on my puter using
socks, and using winsock.ew , but something isn't working how i expect, and
i don't know why. This is the first time i have used the win api even
indirectly, other than dialogs and sock ports in mirc.


errorRtn = WsockInit()
gives me 0 .

errorRtn = WsockSendData(socknum, data)
gives me a -1 . What is that?

Also, how does winsock.ew know i want a tcp or a udp connect on socknum? Or
that it is to keep data recieved on that port until i come read it?

Kat

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu