winsocks
- Posted by Kat <KSMiTH at PELL.NET> Sep 05, 1999
- 436 views
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