in reply to
TCP Socket not receiving.
Your first example works for me just fine.
Update: I didn't pay attention to the data you're sending. See BrowserUk's reply for solution.
Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Results (627 votes),