Results 1 to 4 of 4

Thread: Someone who uses Winsock with success

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2010
    Posts
    14

    Someone who uses Winsock with success

    please help.

    i'm using the server and client programs i've attached to try to link programs for my future game effort.
    what is attached is a simple chat program.


    1) the programs work perfectly on my computer with my IP address

    2) the programs work perfectly to connect my computer with another computer that is connected to my modem.

    3) when i try to connect my computer with my mom's computer in a different city, the program will not connect.
    (error code 40006 wrong connection state(on client side))


    * i have tryed to disable firewall and anti-virus on the server computer

    * i have disabled anti-virus and windows firewall on the client computer
    (there is no other firewall that i can see)

    * i tryed using an alternative port that i tried to open through my provider (verison)

    * i use my IP address from my router webpage, the other internet IP address won't do anything


    server computer is windows XP
    linked computer is Windows 2000
    the remote computer that won't connect is Vista




    there must be some code or a step missing that won't let make true links to other computers.
    i would liek to get advice from someone who actually uses Winsock , thanks.

    ...or is there something other than Winsock i can try?
    Attached Files Attached Files

  2. #2
    Lively Member agent_007's Avatar
    Join Date
    Jan 2010
    Posts
    93

    Re: Someone who uses Winsock with success

    Quote Originally Posted by Wolfstrike View Post
    please help.

    i'm using the server and client programs i've attached to try to link programs for my future game effort.
    what is attached is a simple chat program.


    1) the programs work perfectly on my computer with my IP address

    2) the programs work perfectly to connect my computer with another computer that is connected to my modem.

    3) when i try to connect my computer with my mom's computer in a different city, the program will not connect.
    (error code 40006 wrong connection state(on client side))


    * i have tryed to disable firewall and anti-virus on the server computer

    * i have disabled anti-virus and windows firewall on the client computer
    (there is no other firewall that i can see)

    * i tryed using an alternative port that i tried to open through my provider (verison)

    * i use my IP address from my router webpage, the other internet IP address won't do anything


    server computer is windows XP
    linked computer is Windows 2000
    the remote computer that won't connect is Vista




    there must be some code or a step missing that won't let make true links to other computers.
    i would liek to get advice from someone who actually uses Winsock , thanks.

    ...or is there something other than Winsock i can try?
    the app will work fine on lan but if you want to work it on wan then you have to port forward google for port forward and make sure the vista is 32 bit and that mswinsck.ocx is register on vista

    Im Pro in C#,VB.NET,Batch,Socket Programming, SPY Software Programming, VB6, Win32Api, VBscript, Windows Registry, ASP.NET, PHP, Jquery, AJAX.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2010
    Posts
    14

    Re: Someone who uses Winsock with success

    thanks for your reply.

    can you explain that a little better?

    i've already tried to open a port through my Verizon router.


    how do i register mswinsck.ocx ?

  4. #4
    Lively Member agent_007's Avatar
    Join Date
    Jan 2010
    Posts
    93

    Re: Someone who uses Winsock with success

    Quote Originally Posted by Wolfstrike View Post
    thanks for your reply.

    can you explain that a little better?

    i've already tried to open a port through my Verizon router.


    how do i register mswinsck.ocx ?
    use this link for portforward issue http://portforward.com/
    and to register an ocx first copy the mswinsck.ocx file to the system32 folder and then type this
    Code:
    regsvr32 mswinsck.ocx
    in powershell

    Im Pro in C#,VB.NET,Batch,Socket Programming, SPY Software Programming, VB6, Win32Api, VBscript, Windows Registry, ASP.NET, PHP, Jquery, AJAX.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width