|
-
Jun 6th, 2010, 11:41 PM
#1
Thread Starter
Fanatic Member
Binary Server, with buffering!
This is a small example that shows how to properly set up a TCP server to handle and buffer transmissions(the data) solely with byte arrays.
Also, listening/accepting is properly set-up, and it even reuses sockets when they're no longer in use.
The MS Winsock control is used for sockets, and the default listen port is 1000.
Enjoy.
Last edited by FireXtol; Jun 15th, 2010 at 01:22 AM.
Software I use and highly recommend: Opera, Miranda IM, Peerblock, Winamp, Unlocker Assistant, JoyToKey, Virtual CloneDrive, Secunia PSI, ExplorerXP, GOM Player, Real Alternative, Quicktime Alternative,Sumatra PDF, and non-freeware: Photoshop and VB6( ).
My codebank: AllRGB, Rounded Rectangle(math), Binary Server, Buddy Paint, LoadPictureGDI+, System GUID/Volume Serial, HexToAsc, List all processes and their paths, quasiString matching
Strings(search, extraction, retrieval etc): Retrieve BBCode Link from HTML, RemoveBetween ()'s, strFindBetween(str1,str2), Insert text in HTML, HTML - GetSpanByID
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|