home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / dos_win / winsock / maillist / 94-04.Z / 94-04 / text0206.txt < prev    next >
Encoding:
Text File  |  1994-04-30  |  3.4 KB  |  84 lines

  1.  
  2. Hi,
  3.  
  4. I switched to PC based Internet access mainly because I have more control over
  5. the installed software. I also have a realy neat DEC Workstation. But to get
  6. anything installed I need to go through the Universities Computer Center. 
  7. Don't even try to get them to install something like an anonymous ftp access
  8. or Web server. 
  9.  
  10. Also, most software I ftp is PC software. So it is just much more convinient
  11. ftp it directly to a PC instead of ftp'ing it to the workstation and than use
  12. Kermit or Disks to get it to the PC.
  13.  
  14. All this is only possible of course due to the amazing software offered.
  15.  
  16. johannes.
  17.  
  18.  
  19. ___________________________________________________________________________
  20.                                          | ju8025@csc.albany.edu          |
  21.    Johannes Ullrich                      | johannes@xray.phy.albany.edu   | 
  22.    Center for X-ray Optics               | ju8025@albnyvms.bitnet         |
  23.    Physics Dept.                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
  24.    University at Albany, SUNY              phone: (518) 442-4496
  25.    Albany NY 12222                         FAX  : (518) 442-4486 
  26. ---------------------------------------------------------------------------
  27. Burn flags so people will stop dying for them. But start with your own!
  28. From news@bigblue.oit.unc.edu Sun Apr 17 17:15:18 1994
  29. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  30.           id AA13420; Sun, 17 Apr 1994 12:43:44 -0400
  31. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  32.           id AA18077; Sun, 17 Apr 1994 11:33:43 -0500
  33. Received: from GATEWAY by bigblue with netnews
  34.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  35. To: winsock@sunsite.unc.edu
  36. Date: Sun, 17 Apr 94 15:15:18 +0200
  37. From: Uli Mittermaier <uli@koala.muc.de>
  38. Message-Id: <GrYstApNBh107h@koala.muc.de>
  39. Sender: ses
  40. Subject: WinSock-Progr: Problems with accept()-ing incoming connections
  41.  
  42. Hi!
  43.  
  44. I am trying to program a WinSock-Server-Software in Borlands Turbo Pascal
  45. for Windows 1.5.
  46.  
  47. At first I call WSAStartUp(), then Socket(), Bind(), Listen() and
  48. WSAAsyncSelect(SocketID, HWindow, WM_Connection, FD_ACCEPT).
  49.  
  50. My Problem:
  51. When I try to call Accept() I get a error-message (WSAENOTSOCK) that the 
  52. socket on which I want to establish the connection (the same socket that 
  53. I created successfullly before - as mentioned above) does not exist. The 
  54. really strange thing is, that TCPMAN of Trumpet-WinSock tells me that I try
  55. to establish a connection on a socket different from that I did actually
  56. pass to accept. For example, when I try to accept a call on socket #1 the
  57. WinSock-DLL tells me that I can't accept it on 12335 (that number varies).
  58.  
  59. I call accept() like this:
  60.  
  61.   AcceptSocket:=accept(SocketID, sockad, sizeof(sockad));
  62.  
  63. AcceptSocket is of type socket, SocketID is the socket I am listening,
  64. sockad is of type sockaddr.
  65. Is this correct?
  66.  
  67. Has anybody experience in WinSock programming in TPW 1.5? I am also very
  68. interested in source code of WinSock application!
  69.  
  70. Is any literature available that covers WinSock-programming?
  71.  
  72. Thank you very much!!
  73.  
  74. Best regards,
  75. Uli Mittermaier
  76.  
  77. -- 
  78. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  79. |  Uli Mittermaier                      Internet:   uli@koala.muc.de        |
  80. *  D-84405 Dorfen                       CompuServe: [100270,1200]           *
  81. |  Germany                              UUCP:       uunet!muc.de!koala!uli  |
  82. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  83.  
  84.