Click here to Skip to main content
15,921,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVista SDK Build Problem Pin
Akin Ocal17-Feb-08 12:40
Akin Ocal17-Feb-08 12:40 
QuestionEasiest way to change owner on all object's child objects ? Pin
vilius_m17-Feb-08 9:20
vilius_m17-Feb-08 9:20 
Questiongame keyboard simulation Pin
Spleshmen17-Feb-08 8:19
Spleshmen17-Feb-08 8:19 
GeneralRe: game keyboard simulation Pin
Randor 18-Feb-08 8:13
professional Randor 18-Feb-08 8:13 
GeneralRe: game keyboard simulation Pin
Spleshmen19-Feb-08 1:49
Spleshmen19-Feb-08 1:49 
QuestionSimple socks TCP connecting Pin
Johpoke17-Feb-08 4:18
Johpoke17-Feb-08 4:18 
GeneralRe: Simple socks TCP connecting Pin
Moak21-Feb-08 12:11
Moak21-Feb-08 12:11 
GeneralRe: Simple socks TCP connecting Pin
Johpoke22-Feb-08 4:30
Johpoke22-Feb-08 4:30 
Thanks for the reply. I was recently suggested to add shutdown(socket, SD_BOTH); this made it more reliable, but still not 100%. At the moment it seems that connect function just freezes for a few seconds and then returns that it failed (to connect to the server) The connection is however fine, as both before and after it kept going. This seems to happend at random intervals. (between ~100 connections to ~2500)

Right now though, im probably re connecting every 50-100ms (cant remember)...

Note that what i pasted from netstat is just a little of it, there were so many i cant even copy them all as they go beyong max content of a normal cmd window...

I would (if possible) like to stay with a non-constant connection, as this is easier for me (if i get it to work) + faster on a unreliable connection.


Thanks

//Johannes

GeneralRe: Simple socks TCP connecting Pin
Moak22-Feb-08 4:42
Moak22-Feb-08 4:42 
GeneralRe: Simple socks TCP connecting Pin
Johpoke23-Feb-08 2:37
Johpoke23-Feb-08 2:37 
GeneralRe: Simple socks TCP connecting Pin
Moak26-Feb-08 0:08
Moak26-Feb-08 0:08 
GeneralRe: Simple socks TCP connecting Pin
Johpoke29-Feb-08 21:55
Johpoke29-Feb-08 21:55 
GeneralRe: Simple socks TCP connecting Pin
Moak29-Feb-08 22:52
Moak29-Feb-08 22:52 
QuestionRe: Simple socks TCP connecting Pin
Moak23-Feb-08 3:01
Moak23-Feb-08 3:01 
GeneralRe: Simple socks TCP connecting Pin
Johpoke23-Feb-08 3:06
Johpoke23-Feb-08 3:06 
GeneralRe: Simple socks TCP connecting Pin
Moak26-Feb-08 0:34
Moak26-Feb-08 0:34 
Questionproblems with cap and vfw Pin
cmos17-Feb-08 4:09
cmos17-Feb-08 4:09 
QuestionRe: problems with cap and vfw Pin
cmos17-Feb-08 5:02
cmos17-Feb-08 5:02 
GeneralRe: problems with cap and vfw Pin
Mark Salsbery17-Feb-08 9:46
Mark Salsbery17-Feb-08 9:46 
AnswerRe: problems with cap and vfw Pin
cmos17-Feb-08 10:07
cmos17-Feb-08 10:07 
GeneralRe: problems with cap and vfw Pin
Mark Salsbery17-Feb-08 10:21
Mark Salsbery17-Feb-08 10:21 
GeneralRe: problems with cap and vfw Pin
cmos17-Feb-08 10:59
cmos17-Feb-08 10:59 
GeneralRe: problems with cap and vfw Pin
Mark Salsbery17-Feb-08 13:06
Mark Salsbery17-Feb-08 13:06 
GeneralChanging the height of a CstatusBar Pin
Stan the man17-Feb-08 4:05
Stan the man17-Feb-08 4:05 
GeneralRe: Changing the height of a CstatusBar Pin
Iain Clarke, Warrior Programmer18-Feb-08 3:07
Iain Clarke, Warrior Programmer18-Feb-08 3:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.