By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 897 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

TCP Connection

P: n/a
Hi,

I am a novice programmer. I am trying to write a server-client program
as a personal project. I have googled my ass off but I can't seem to
find usefull information about this. Can anyone help me find
information on how to make a connection between a client and a server
over 'the internets' using TCP.

Thank you kindly,
Zero.
Apr 16 '06 #1
Share this Question
Share on Google+
9 Replies


P: n/a
Full Name wrote:
Hi,

I am a novice programmer. I am trying to write a server-client program
as a personal project. I have googled my ass off but I can't seem to
find usefull information about this. Can anyone help me find
information on how to make a connection between a client and a server
over 'the internets' using TCP.

Thank you kindly,
Zero.


Then you didn't google very hard. In addition, there is no C++ question
in you post.
Apr 16 '06 #2

P: n/a
On Sun, 16 Apr 2006 16:58:38 GMT, red floyd <no*****@here.dude> wrote:
Full Name wrote:
Hi,

I am a novice programmer. I am trying to write a server-client program
as a personal project. I have googled my ass off but I can't seem to
find usefull information about this. Can anyone help me find
information on how to make a connection between a client and a server
over 'the internets' using TCP.

Thank you kindly,
Zero.


Then you didn't google very hard. In addition, there is no C++ question
in you post.


I am sorry but I actually did try my best. But if it so easy would you
be so kind as to point me in the right direction.

And posting this question in comp.lang.c++ I thought it was implied
that my question was related to c++.

So I want to make a server-client program using c++. Could you, or
anyone else, point me in the right direction, please. All I need is a
link or tutorial or library that can help me get on the way. I don't
want you to make the program for me. Just enough to help me along. I
will figure it out from there.
Apr 16 '06 #3

P: n/a
Full Name <no*@important.com> wrote:
On Sun, 16 Apr 2006 16:58:38 GMT, red floyd <no*****@here.dude> wrote:
Full Name wrote:
Hi,

I am a novice programmer. I am trying to write a server-client
program as a personal project. I have googled my ass off but I
can't seem to find usefull information about this. Can anyone help
me find information on how to make a connection between a client
and a server over 'the internets' using TCP.

Thank you kindly,
Zero.


Then you didn't google very hard. In addition, there is no C++
question in you post.


I am sorry but I actually did try my best. But if it so easy would you
be so kind as to point me in the right direction.

And posting this question in comp.lang.c++ I thought it was implied
that my question was related to c++.

So I want to make a server-client program using c++. Could you, or
anyone else, point me in the right direction, please. All I need is a
link or tutorial or library that can help me get on the way. I don't
want you to make the program for me. Just enough to help me along. I
will figure it out from there.


Google for Winsock (supporting news group is
alt.winsock.programming). This answer might be specific to Windows. If
you are not running Windows, try a newsgroup that supports your
platform.

This is also the reason you are off-topic. Standard C++ defines no
such thing as a 'TCP connection', so there is no way to create a
connection with the Standard C++ language, the topic of this news group.
That means, you need a *platform specific* library. All questions
regarding those libraries do not belong here, but to the newsgroup
dealing with that particular library and/or platform. The fact that you
can access those from C++ is irrelevant.

This should clear any doubts.

hth
--
jb

(reply address in rot13, unscramble first)
Apr 16 '06 #4

P: n/a
Jakob Bieling wrote:
This is also the reason you are off-topic. Standard C++ defines no such
thing as a 'TCP connection', so there is no way to create a connection
with the Standard C++ language, the topic of this news group. That means,
you need a *platform specific* library. All questions regarding those
libraries do not belong here, but to the newsgroup dealing with that
particular library and/or platform. The fact that you can access those
from C++ is irrelevant.

This should clear any doubts.


And Google for [boost asio]. ;-)

--
Phlip
http://www.greencheese.org/ZeekLand <-- NOT a blog!!!
Apr 16 '06 #5

P: n/a
On Sun, 16 Apr 2006 19:09:28 GMT, "Phlip" <ph******@yahoo.com> wrote:
Jakob Bieling wrote:
This is also the reason you are off-topic. Standard C++ defines no such
thing as a 'TCP connection', so there is no way to create a connection
with the Standard C++ language, the topic of this news group. That means,
you need a *platform specific* library. All questions regarding those
libraries do not belong here, but to the newsgroup dealing with that
particular library and/or platform. The fact that you can access those
from C++ is irrelevant.

This should clear any doubts.


And Google for [boost asio]. ;-)


ty both. Those are answer I can work with.
Apr 16 '06 #6

P: n/a
hi
you may read tcp/ip programming(part 3) with applications by douglas
comer
(both unix and windows versions are available, check you college
librarry)

or go to msdn library and read about winsock.

Apr 17 '06 #7

P: n/a
google for bsd sockets :-)

Apr 17 '06 #8

P: n/a
Diego Martins wrote:
google for bsd sockets :-)


No, thanks.
Brian

--
Please quote enough of the previous message for context. To do so from
Google, click "show options" and use the Reply shown in the expanded
header.
Apr 17 '06 #9

P: n/a
Tom
MSDN: socket reference.

Apr 18 '06 #10

This discussion thread is closed

Replies have been disabled for this discussion.