denied request

This is a discussion on denied request within the C++ Programming forums, part of the General Programming Boards category; Hi, I have written a client-server program using Winsock. I used nonblocking socket (overlapped socket) with WSA... A client attemps ...

  1. #1
    Unregistered
    Guest

    Lightbulb denied request

    Hi,
    I have written a client-server program using Winsock. I used nonblocking socket (overlapped socket) with WSA...
    A client attemps to connect to server. Although server denies that request, that client can not notice that. FD_WRITE and FD_CONNECT are still raised for that client.
    I have checked that client socket for writability and I know that it is still valid.
    I think there are some problems with my implementation but I can not figure them out.
    Help me, please. How can my client know that
    its request is denied.

    Thanks

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    164
    I had a similar problem a while ago. Do you call WSAAsyncSelect and in that case when do you call it?
    // Gliptic

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Trouble with client GET request path
    By NuNn in forum C Programming
    Replies: 1
    Last Post: 02-25-2009, 02:34 PM
  2. Can you check what is wrong with this code
    By Ron in forum C++ Programming
    Replies: 4
    Last Post: 08-01-2008, 10:59 PM
  3. my HTTP request handler code correct?
    By George2 in forum C# Programming
    Replies: 0
    Last Post: 04-25-2008, 04:01 AM
  4. sending https request
    By sreenu_daram in forum Networking/Device Communication
    Replies: 1
    Last Post: 08-05-2006, 09:08 AM
  5. c:\boot.ini access denied!
    By Bajanine in forum Tech Board
    Replies: 8
    Last Post: 11-17-2005, 10:52 AM

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