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

Search:

Type: Posts; User: hamham

Page 1 of 4 1 2 3 4

Search: Search took 0.04 seconds.

  1. Thread: Help in HPGL/2

    by hamham
    Replies
    0
    Views
    693

    Help in HPGL/2

    was using a 8 pen-plotter.
    so application codes all colours using 8 pens assignment in HPGL/2.

    now bought new HP Designjet 500.
    thinking of expanding the colour range on the paper.

    HPGL/2...
  2. I just need to implement a listening socket that...

    I just need to implement a listening socket that can accept and receive data.

    Anyone?
  3. attached the server n client code anyone...?

    attached the server n client code

    anyone...?
  4. hmmm... server side goes like tis ...

    hmmm...
    server side goes like tis

    Server.Create(9000,SOCK_STREAM,myIP);
    Server.Listen();

    CSock::OnAccept(int nErrorCode)
    {
    Accept(socket,0,0)
    .......
  5. HELP:Can connect to server but server didnt receive sent data

    server is using MFC socket class on win2K
    client using sockets on solaris 2.3

    I cant seem to receive anything at Server side coz I put breakpoints in OnReceive() & Receive() of the sock function....
  6. HELP:Can connect to server but server didnt receive sent data

    server is using MFC socket class on win2K
    client using sockets on solaris 2.3

    I cant seem to receive anything at Server side coz I put breakpoints in OnReceive() & Receive() of the sock function....
  7. Replies
    3
    Views
    575

    accepting a socket connection request

    in my main dialog.cpp//dialog-based app

    if (serversock.create(8000,SOCK_STREAM,myIP) && serversock.listen())
    display OK;

    if (serversock.Accept(receivesock,0,0))
    display OK;

    Is this the...
  8. its just a dummy expression to up the thread........

    its just a dummy expression to up the thread.....

    anyway, here's the code...





    Hi...
  9. :confused:

    :confused:
  10. I tried declaring the client socket object in...

    I tried declaring the client socket object in .cpp
    and extern in .h

    it can compile and link

    but when I accept the connection,
    the client fail the debug assertion...
    error is the client is a...
  11. :confused:

    :confused:
  12. wat does the last second line do?

    wat does the last second line do?
  13. sorry abt that.... its just to illustrate that...

    sorry abt that....

    its just to illustrate that its of socket type onli......
    it psuedo code......
    actually code is here..

    http://www.codeguru.com/forum/attachment.php?s=&postid=822809
  14. :confused:

    :confused:
  15. :confused:

    :confused:
  16. :confused:

    :confused:
  17. :confused:

    :confused:
  18. i tried declaring the client socket as extern in...

    i tried declaring the client socket as extern in the .h

    but once I tried to

    OnAccept()
    {
    server.Accept(Client,0,0)
    //It immdeiately fail a debug assertion
    //error= INVALID_SOCKET
    }
  19. :confused:

    :confused:
  20. Replies
    4
    Views
    1,035

    ok......thanks for the info....

    ok......thanks for the info....
  21. Replies
    4
    Views
    1,035

    serversocket.create() serversocket.listen()...

    serversocket.create()
    serversocket.listen()
    OnAccept()
    {
    serversocket.Accept(Clientsocket,0,0)
    //when accepting, I assign it to the Client socket object.....
    //this is the client object i...
  22. Replies
    4
    Views
    1,035

    socket re-initialize????

    I have a Client socket obj in server socket app......
    its used for sending and receiving....
    Client.Create();

    after assigning it to a socket.
    Accept(Client,0,0)

    I can ...
  23. different object when used in other class/object

    I declared
    static SOCKET socket;
    static SOCKET client ;
    in dialog.h

    socket.create()
    socket.listen()

    OnAccept()
    {
  24. :confused:

    :confused:
  25. :confused:

    :confused:
Results 1 to 25 of 82
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured