473,326 Members | 2,108 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

TCP Connection

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
9 2287
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
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
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
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
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
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
google for bsd sockets :-)

Apr 17 '06 #8
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
Tom
MSDN: socket reference.

Apr 18 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: G-Fit | last post by:
Hello group, I have several servers hosting SQL databases. On each of them, I have several databases. All those databases have the same structure (even those on different servers), only the data...
11
by: pradeep_TP | last post by:
Hi all, I have a few questions that I have been wanting to ask for long. These are all related to ADO.net and specifically to conenction to database. 1) If I have opened a connection to a...
6
by: Chris Szabo | last post by:
I've created a data access layer for a .NET web application. I'm using C# and framework 1.1. I'm getting an error from time to time when I close a connection saying: ...
18
by: Rob Nicholson | last post by:
We're getting an occasional occurrence of the following error when two users try and open the same record in our ASP.NET app: "There is already an open DataReader associated with this Connection...
35
by: Eric Sabine | last post by:
In my Finally block, I was using cn.close (where cn is an ADO.NET connection object, SQLConnection to be exact) and then I came across the following in some microsoft code. If Not cn Is Nothing...
3
by: Martin B | last post by:
Hallo! I'm working with C# .NET 2.0, implementing Client/Server Applications which are connecting via Network to SQL-Server or Oracle Databases. To stay independent from the underlaying Database...
20
by: fniles | last post by:
I am using VS2003 and connecting to MS Access database. When using a connection pooling (every time I open the OLEDBCONNECTION I use the exact matching connection string), 1. how can I know how...
3
by: fniles | last post by:
In the Windows application (using VB.NET 2005) I use connection pooling like the following: In the main form load I open a connection using a connection string that I stored in a global variable...
0
by: Robert Avery | last post by:
In VBA/VB6, I had a class (incomplete sample below) that watched and displayed for the user all connection events, so that I could easily see what SQL was taking a long time, and when it freezes, I...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.