A little help with a basic sockets program

Pages: 12
Aug 26, 2011 at 9:03pm
closed account (DSLq5Di1)
Does output directly above the loop work?
Aug 26, 2011 at 9:05pm
I'm so confused. cout << "test"; doesnt work directly after main(){

__

but my client script outputs fine. Also when debugging it shows that variable test does =2 and it is sitting on accept(). So it passes all those lines but nothing is outputted
Last edited on Aug 26, 2011 at 9:12pm
Aug 26, 2011 at 9:25pm
closed account (DSLq5Di1)
Dunno m8, I'm scratching my head here too.. try working with a clean slate.
Aug 26, 2011 at 9:42pm
endl; was needed after the couts... idk why but it helped. It tottaly works now, thank you
Aug 26, 2011 at 9:56pm
closed account (DSLq5Di1)
Figures it would be something so silly! glad you got it working. ^^
Topic archived. No new replies allowed.
Pages: 12