AcceptEx with WSASend and WSARecv :: Winsock

This is a discussion on AcceptEx with WSASend and WSARecv :: Winsock within the Networking/Device Communication forums, part of the General Programming Boards category; Hi, I am designing a winsock applications that utilizes AcceptEx() winsock extension. According to MSDN, sockets that are accepted via ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348

    AcceptEx with WSASend and WSARecv :: Winsock

    Hi,

    I am designing a winsock applications that utilizes AcceptEx() winsock extension. According to MSDN, sockets that are accepted via AcceptEx() work only with send(), recv() and other functions. However, they do not work with WSASend() and WSARecv().

    Is there a solution to AcceptEx() working with WSASend() and WSARecv()? I want to make sure there is no other alternative.

    One reason I prefer to use the winsock 2 API is because of the OVERLAPPED I/O feature. Secondly, I the application runs under IOCP. I have never used send() and recv() with IOCP.

    Thanks,
    Kuphryn

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    ReadFile()
    WriteFile()

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Okay. Thanks.

    I tried WSASend() and send(). Neither has worked. I will try the other function.

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WSAAsyncSelect I/O & Multithreading :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 09-27-2002, 02:28 AM
  2. Setting Time-Out :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 08-06-2002, 08:50 AM
  3. Calling WSASend() Consecutively :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 05-17-2002, 09:30 AM
  4. WSASend & WSARecv :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 05-16-2002, 05:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21