CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2009
    Posts
    5

    Client Server in C#

    Hi
    I have written code for the Udp client server communication..It works well.The problem is that the server sends and receives the message but simply closes when i click a button to send the message so im unable to view the message displayed on the server..I have attached the server code..please tell me what change should i make to keep the server alive.Thanks for any help in advance
    Attached Files Attached Files

  2. #2
    Join Date
    Mar 2008
    Location
    IRAN
    Posts
    811

    Re: Client Server in C#

    i saw your code...i don't understand why you don't have if condition in your loop and never you set done to true?
    Please rate my post if it was helpful for you.
    Java, C#, C++, PHP, ASP.NET
    SQL Server, MySQL
    DirectX
    MATH
    Touraj Ebrahimi
    [toraj_e] [at] [yahoo] [dot] [com]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured