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

Search:

Type: Posts; User: tophat

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,051

    Re: Winsocks and Public IP

    Thanks, Mike. I have finally got this to work. I first reset my router, just because I had some settings changed that were effecting my network. I tried re-adding the port to the forward list and...
  2. Replies
    4
    Views
    1,051

    Winsocks and Public IP

    I had a thread a while back about winsocks and connecting them through LAN, which worked! http://www.codeguru.com/forum/showthread.php?t=446639 (that thread contains the code for server/client)

    My...
  3. Replies
    19
    Views
    2,165

    Re: Socket's won't work remotely.

    Mike, thanks again for all of your help!

    The program still works by using 127.0.0.1 within the local network, what I meant in my last post was that by using my public address it didn't work within...
  4. Replies
    19
    Views
    2,165

    Re: Socket's won't work remotely.

    I believe that my IP's are private IP addresses. My server does not have two NICs. Both computers on the Local Network share the same IP address. Even if I have both the client and server program...
  5. Replies
    19
    Views
    2,165

    Re: Socket's won't work remotely.

    The IP addresses I covered with X's were actually my IP, I just covered them with two X's even in points where there should have been 3 numbers. (Ex: if my ip was 12.34.678, i just put XX.XX.XX.) ...
  6. Replies
    19
    Views
    2,165

    Re: Socket's won't work remotely.

    The server is listening on the port, because when you use 127.0.0.1, it connects only if you type the specified port (on client) that the server is listening to. The server is having no response to...
  7. Replies
    19
    Views
    2,165

    Re: Socket's won't work remotely.

    thanks again for all of your help. the machines are pingable, and I have disabled firewall, and am getting these errors:



    Enter user's IP Address: XX.XX.XX.XX
    Enter port # to connect to: 6980...
  8. Replies
    19
    Views
    2,165

    Re: Socket's won't work remotely.

    ugh, i just tried using the client and server on two separate computers on the same local network, and i get the error code 10061, which is a full connect rejection. i do have a router, however i...
  9. Replies
    19
    Views
    2,165

    Re: Socket's won't work remotely.

    That comment you were looking at was kind of old. I was just using 127.0.0.1 before to test, and that comment was just to remind me. Prior to the code for the client, there is a line which it...
  10. Replies
    19
    Views
    2,165

    Re: Socket's won't work remotely.

    that actually makes a lot of sense that it would be the router. my computer is behind a rounter, so i'll try re-configuring it. But, is there some way this can be done with Win32 functions and c++?
  11. Replies
    19
    Views
    2,165

    Socket's won't work remotely.

    I have been working on a server/client program now for a few weeks, and they work flawlessly together by binding the client to 127.0.0.1, or the localhost. But, for some reason, the client/server...
  12. Replies
    10
    Views
    960

    Re: Sending data over Winsocks

    Thank you all for your help! It turned out strcmp() really was exactly what I was looking for :)
  13. Replies
    10
    Views
    960

    Re: Sending data over Winsocks

    I can kind of see what you are saying, but can I please get an example?
  14. Replies
    10
    Views
    960

    Re: Sending data over Winsocks

    thanks for the help, but i'm not sure if strcmp is what I'm looking for.

    Even though the data sent through send() is a char *, it isn't compared in an if statement as one. I just need to know how...
  15. Replies
    10
    Views
    960

    Re: Sending data over Winsocks

    Here's some code samples (I took some stuff out just to save me the hassle of having to put everything and explain things. The socket connection between client and server works, as do recv() and...
  16. Replies
    10
    Views
    960

    Re: Sending data over Winsocks

    well, yeah it sends a message stating something like "Welcome to the server." But I want to be able to send the server a message from client or vice versa, such as "Welcome to the Server", and use...
  17. Replies
    10
    Views
    960

    Sending data over Winsocks

    Sorry, new to the forum, not really sure if this is the right place to post.

    Anyways, I am just working on a server/client program which can send messages between each other. I'm able to send the...
  18. Thread: Ajax vs Flash

    by tophat
    Replies
    8
    Views
    9,975

    Re: Ajax vs Flash

    I also use Ajax and Flash, and Ajax is (to me) much much easier. Of course, flash can do anything ajax can do with a little bit of actionscript, but some users may not have flash. also, making ajax...
  19. Replies
    1
    Views
    466

    Where Should I Start

    I am really fascinated by C++, and really want to learn it completely. I already have a lot of experience with PHP, AS, Ajax (if you consider that a language) and a few others. I tried going to...
  20. Replies
    2
    Views
    895

    Adding to Start Up

    I'm quite new to visual basic, and I was wondering how to add a program to start up. I'm just curious, and would really like to find out :) thanks.
Results 1 to 20 of 20





Click Here to Expand Forum to Full Width

Featured