Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Damon123

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    710

    getsockopt doesn't match with setsockopt

    first, I use setsockopt to set send buffer 40000
    then I use getsockopt to get the send buffer, but it is 80000

    here is my code,

    int value = 40000;
    socklen_t len;
    len = sizeof(value);

    if...
  2. Replies
    1
    Views
    560

    serious problem in send()

    I am implementing multi-server-client program.

    I use the select function to detect sockfd which is available to read and write so as to solve the blocking problem when send/recv.

    Now, I meeting...
  3. Replies
    1
    Views
    530

    Window Hooking problem

    I am implementing window hooking from one process to another process.
    In my app, I want to detect the WM_DESTROY message of notepad.
    I use SetWindowsHookEx in DLL, but I fail to do so.
    I want to...
  4. Replies
    2
    Views
    782

    recv() error during closing app

    how to deal with problem of closing my socket program when recv() ing data?

    should I stop the recv() and flush the recv buffer so as to prevent recv() error?
  5. how to get the process name of an application?

    I want to know the process name (such as iexplore.exe) from an appliaction name (such as CodeGuru Forms - Microsoft Internet Explorer).

    Any api to do so?
  6. Replies
    2
    Views
    386

    How to detect pop-up of a window?

    I want to execute some codes when a specific window is pop up, how could the pop up of that window tricker my event?
  7. Replies
    0
    Views
    514

    Netmeeting SDK problem

    I am trying to use netmeeting api to do a application sharing program.

    I want to know if netmeeting SDK provides API to unshall all shared application by one click, so that I can close the...
  8. Replies
    2
    Views
    780

    LPTSTR format problem

    I am using netmeeting api to write a client sharing program.

    I use GetAddr to check the ip of incoming call, if it is one of ip in my buddy list, accept the call.

    I don't know how to compare...
  9. Replies
    0
    Views
    408

    Netmeeting SDK problem

    I am using netmeeting SDK to make a peer-to-peering sharing program.

    Now I want to manually block and permit income call by the incoming IP.

    for example, when a call is arrived, I want to check...
  10. Replies
    3
    Views
    991

    Re: Select() problem in FD_SET

    thank you for your reply and I know that 2 different FD SET should be used for client and server.

    however, if I am in the case that I am waiting for either connection of client and server, how...
  11. Replies
    3
    Views
    991

    Select() problem in FD_SET

    I am writing a multiserver program.
    I use I/O mutiplexing (SELECT function).

    I am going to use one read set (rset_1) of file descriptor for clients, and another set (rset_2) for server, so as to...
  12. Replies
    13
    Views
    45,811

    Re: How to use timer in Unix ?

    then what does the (int i) mean ?

    void alarm_wakeup (int i)
  13. Replies
    13
    Views
    45,811

    Re: How to use timer in Unix ?

    I want to know how to pass parameter to the function "alarm_wakup" from main?
  14. Replies
    13
    Views
    45,811

    Re: How to use timer in Unix ?

    Thx a lot!
  15. Detect disconnection in client-server program

    I am writing a client-server program like netmeeting. In the server side, I use SELECT function (I/O multiplexing) to waiting for connection and receiving message.

    Now I want to find ways to...
  16. Replies
    13
    Views
    45,811

    How to use timer in Unix ?

    I want to start a timer to count a period of about 10 second, how should I implement the method in time.h ?
  17. Replies
    2
    Views
    512

    Re: recv() problem

    actually my program use I/O Mutiplexing, that is the SELECT function, without using any thread.

    how could I keep sending/receiving timeout packets and use a timer to count the time?
  18. Replies
    2
    Views
    512

    recv() problem

    I am writing a program like netmeeting.

    I use recv() to detect if a client disconnects manually or has error when the return value is 0 or -1.

    However, when the client's computer's network is...
Results 1 to 18 of 18


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center