Advertisement

Winsock

Started by March 29, 2001 02:13 PM
3 comments, last by Ciphersoftware 23 years, 10 months ago
I''m currently developing a small, text-based chatting application to familiarize myself with socket programming using the Winsock library. Tutorials on the net are extremly sparse. I was wondering if anyone has ever found a really good tutorial on simple Winsock programming. Ciphersoftware website

Support the open source community

Ciphersoftware website

Support the open source community

This is the one I used to figure it out a while ago. There are a noticable amount of topics it leaves out, and I never could get WinSock to bind to my Windows. It doesn''t cover the creation/deletion of threads either, but they aren''t hard to figure out. Also, I personally found blocking input to work just fine in a client program, as long as it is in a seperate thread (he tells you not to use it in a client program, but I went on and ignored him, heh).

"Finger to spiritual emptiness underlying everything." -- How a C manual referred to a "pointer to void." --Things People Said
Resist Windows XP''s Invasive Production Activation Technology!
http://www.gdarchive.net/druidgames/
Advertisement
Also, if you want the code behind a very simple chat program I wrote in a couple hours last night (I only started learning WinSock two days ago) I can mail it to you. The server isn''t really well documented (it uses the following commands: list, boot, bootnum, log_on <fname>, log_off, echo <0/1> and exit) but it was just for learning purposes, so go figure .

"Finger to spiritual emptiness underlying everything." -- How a C manual referred to a "pointer to void." --Things People Said
Resist Windows XP''s Invasive Production Activation Technology!
http://www.gdarchive.net/druidgames/
Yes, Im very interested in seeing your code. Is it posted on your website? If not email it to me at gameprogrammer@excite.com

Thanks a lot



Ciphersoftware website

Support the open source community

Ciphersoftware website

Support the open source community

Unfortunetly GDArchive.Net has been down for a long time, I''m just too lazy to remove it from my signature. I''ll send it your way as soon as I get the files zipped up. I''m not promising you that the code is a masterpeice or anything though (I wrote it in about 4 hours after all) . The email has a list of things that you might want to know about it.

"Finger to spiritual emptiness underlying everything." -- How a C manual referred to a "pointer to void." --Things People Said
Resist Windows XP''s Invasive Production Activation Technology!
http://www.gdarchive.net/druidgames/

This topic is closed to new replies.

Advertisement