Click here to Skip to main content
15,924,195 members
Home / Discussions / C#
   

C#

 
GeneralRe: CPropertySheet Pin
James T. Johnson27-Aug-02 20:11
James T. Johnson27-Aug-02 20:11 
GeneralRe: CPropertySheet Pin
leppie27-Aug-02 21:42
leppie27-Aug-02 21:42 
GeneralJames, how do i upload? Pin
leppie27-Aug-02 22:00
leppie27-Aug-02 22:00 
GeneralRe: James, how do i upload? Pin
Mazdak27-Aug-02 22:23
Mazdak27-Aug-02 22:23 
GeneralRe: James, how do i upload? Pin
James T. Johnson28-Aug-02 6:06
James T. Johnson28-Aug-02 6:06 
GeneralMouse Capture Pin
Alex Korchemniy27-Aug-02 15:12
Alex Korchemniy27-Aug-02 15:12 
GeneralRe: Mouse Capture Pin
Alastair Stell27-Aug-02 17:04
Alastair Stell27-Aug-02 17:04 
GeneralError when converting to use UDP Pin
Luis Alonso Ramos27-Aug-02 14:34
Luis Alonso Ramos27-Aug-02 14:34 
Hello,

For a school assignment I have to make a little client and server that send a file using either TCP or UDP (depending on the selection of the user).

I found these two little sample programs that could teach me what I need, the problem is that if a change the server and client to use UDP (and datagrams) an exception is thrown in the server at the Listen call.

The programs are here:

ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconnon-blockingserversocketexample.htm[^]

ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconnon-blockingclientsocketexample.htm[^]

Any ideas?? Also, how can I make the server accept multiple connections at a time? I know I have to create a thread for each connection, but where and how??

Thanks,

-- LuisR


──────────────
  Luis Alonso Ramos
  Chihuahua, Mexico
  www.luisalonsoramos.com

"Do not worry about your difficulties in mathematics, I assure you that mine are greater." -- Albert Einstein
GeneralRe: Error when converting to use UDP Pin
Michael Mac28-Aug-02 2:15
Michael Mac28-Aug-02 2:15 
GeneralRe: Error when converting to use UDP Pin
Luis Alonso Ramos28-Aug-02 3:04
Luis Alonso Ramos28-Aug-02 3:04 
GeneralRe: Error when converting to use UDP Pin
Michael Mac28-Aug-02 3:51
Michael Mac28-Aug-02 3:51 
GeneralRe: Error when converting to use UDP Pin
Luis Alonso Ramos28-Aug-02 4:14
Luis Alonso Ramos28-Aug-02 4:14 
GeneralRe: Error when converting to use UDP Pin
Russell Morris28-Aug-02 4:36
Russell Morris28-Aug-02 4:36 
GeneralRe: Error when converting to use UDP Pin
Luis Alonso Ramos28-Aug-02 4:44
Luis Alonso Ramos28-Aug-02 4:44 
GeneralQuick Question Pin
Alex Korchemniy27-Aug-02 8:57
Alex Korchemniy27-Aug-02 8:57 
GeneralRe: Quick Question Pin
leppie27-Aug-02 9:38
leppie27-Aug-02 9:38 
GeneralRe: Quick Question Pin
Andy Smith27-Aug-02 9:55
Andy Smith27-Aug-02 9:55 
GeneralRe: Quick Question Pin
leppie27-Aug-02 11:30
leppie27-Aug-02 11:30 
GeneralRe: Quick Question Pin
Christian Graus27-Aug-02 12:06
protectorChristian Graus27-Aug-02 12:06 
GeneralThanks Pin
Alex Korchemniy27-Aug-02 14:58
Alex Korchemniy27-Aug-02 14:58 
GeneralCursor Blink Rate Pin
Nnamdi Onyeyiri27-Aug-02 8:52
Nnamdi Onyeyiri27-Aug-02 8:52 
GeneralDestructor problem Pin
leppie27-Aug-02 7:55
leppie27-Aug-02 7:55 
GeneralRe: Destructor problem Pin
Michael Mac27-Aug-02 8:15
Michael Mac27-Aug-02 8:15 
GeneralRe: Destructor problem Pin
leppie27-Aug-02 9:40
leppie27-Aug-02 9:40 
GeneralRe: Destructor problem Pin
Michael Mac27-Aug-02 11:38
Michael Mac27-Aug-02 11:38 

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

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