Search:

Type: Posts; User: sunjayc99

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    1,363

    App Wizard Tutorial

    Does anyone know any good tutorials for writing custom application wizards for Visual C++ 2008?
  2. Replies
    6
    Views
    1,319

    Ooh, looks like the error was coming from the...

    Ooh, looks like the error was coming from the receiving side. Didn't think of that.
    Thanks!
  3. Replies
    6
    Views
    1,319

    tbuf is null-terminated and len is 7.

    tbuf is null-terminated and len is 7.
  4. Replies
    6
    Views
    1,319

    The calling code is SockSend(&f.psock, tbuf,...

    The calling code is

    SockSend(&f.psock, tbuf, strlen(tbuf))
    where tbuf is a char[85].
  5. Replies
    6
    Views
    1,319

    send( accessing beyond buffer?

    I've been working on a game.
    One of the things the client-side code has to do is send the name of the player to the server. If I type anything that's more than 3 characters for the name ("Dude" for...
  6. Replies
    2
    Views
    2,674

    Sending key input to another process

    I was just wondering if it is possible for one console-based program to send keyboard input to another console-based program. For example, is there any way to write to another process's stdin?
  7. Replies
    4
    Views
    12,013

    So, after I serialize the data, would this be a...

    So, after I serialize the data, would this be a good way to send it?


    int SockSend(SOCKET *theirsock, char* buf, int len)
    {
    int nError;
    int nsent = 0;

    do
    {
  8. Replies
    3
    Views
    3,070

    sorry, i guess i didn't phrase my question...

    sorry, i guess i didn't phrase my question correctly.
    what i meant was, couldn't i just use something like:


    ListenSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCPIP);

    and

    ...
  9. Replies
    4
    Views
    12,013

    Thank you Cactus_Hugger! I'm somewhat new to...

    Thank you Cactus_Hugger!
    I'm somewhat new to writing programs, so I didn't think about portability.
    I'll be sure to read the serialization FAQ.
  10. Replies
    3
    Views
    3,070

    is getaddrinfo really necessary?

    Looking at the examples from MSDN for windows sockets 2, they give this:


    ...
    ZeroMemory(&hints, sizeof(hints));
    hints.ai_family = AF_INET;
    hints.ai_socktype = SOCK_STREAM;
    ...
  11. Replies
    4
    Views
    12,013

    sending structures through sockets

    Hello,

    I was just wondering if there was any way to safely send structures across a network in sockets, since the send( function can possibly the entire data buffer I give it.

    If I used
    ...
Results 1 to 11 of 11