Click here to Skip to main content
       

C#

 
GeneralRe: nested try catch block Pinmember000mann00023-Jan-13 7:25 
QuestionClient is not connecting to the server PinmemberSkytten23-Jan-13 5:33 
AnswerRe: Client is not connecting to the server PinmvpOriginalGriff23-Jan-13 5:41 
GeneralRe: Client is not connecting to the server PinmemberSkytten23-Jan-13 5:55 
GeneralRe: Client is not connecting to the server PinmvpOriginalGriff23-Jan-13 6:07 
GeneralRe: Client is not connecting to the server PinmemberSkytten23-Jan-13 6:09 
GeneralRe: Client is not connecting to the server PinmvpOriginalGriff23-Jan-13 6:20 
GeneralRe: Client is not connecting to the server PinmemberSkytten23-Jan-13 6:26 
I changed it to
 private void button1_Click(object sender, EventArgs e)
         {
 
             if (serverStream == null)
             {
                 MessageBox.Show("Please connect to a server.");
                 return;
             }
            
             readData = "Conected to Chat Server ...";
             msg();
             clientSocket.Connect("127.0.0.1", 8888);
             serverStream = clientSocket.GetStream();
 
             byte[] outStream = System.Text.Encoding.ASCII.GetBytes(sendTextBox.Text + "$");
             serverStream.Write(outStream, 0, outStream.Length);
             serverStream.Flush();
 
             Thread ctThread = new Thread(getMessage);
             ctThread.Start();
 
         }
 
But still the same
GeneralRe: Client is not connecting to the server PinmvpOriginalGriff23-Jan-13 8:04 
GeneralRe: Client is not connecting to the server PinmemberSkytten23-Jan-13 10:03 
GeneralRe: Client is not connecting to the server PinmvpOriginalGriff24-Jan-13 0:04 
GeneralRe: Client is not connecting to the server PinmemberSkytten24-Jan-13 12:57 
QuestionC# parameters Pinmemberclassy_dog23-Jan-13 4:37 
AnswerRe: C# parameters PinmvpRichard MacCutchan23-Jan-13 5:04 
GeneralRe: C# parameters PinmemberPIEBALDconsult23-Jan-13 5:29 
AnswerRe: C# parameters Pinmemberjschell23-Jan-13 8:59 
AnswerRe: C# parameters PinmemberBC @ CV23-Jan-13 10:17 
QuestionC# file Pinmemberclassy_dog23-Jan-13 4:31 
AnswerRe: C# file Pinmemberdeflinek23-Jan-13 4:37 
GeneralRe: C# file PinmemberPIEBALDconsult23-Jan-13 5:10 
GeneralRe: C# file PinmvpOriginalGriff23-Jan-13 5:36 
QuestionUse axFrameControl to open the ppt encountered the error [modified] PinmemberJason Fang_22-Jan-13 21:55 
AnswerRe: Use axFrameControl to open the ppt encountered the error Pinmembermicke.andersson28-Jan-13 2:55 
QuestionCreating Various Files Using C# [modified] PinmemberASPnoob22-Jan-13 17:28 
AnswerRe: Creating Various Files Using C# PinmemberPIEBALDconsult22-Jan-13 18:14 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 31 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid