A little help with a basic sockets program

Pages: 12
closed account (DSLq5Di1)
Does output directly above the loop work?
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
closed account (DSLq5Di1)
Dunno m8, I'm scratching my head here too.. try working with a clean slate.
endl; was needed after the couts... idk why but it helped. It tottaly works now, thank you
closed account (DSLq5Di1)
Figures it would be something so silly! glad you got it working. ^^
Topic archived. No new replies allowed.
Pages: 12