Hi there,
I was wondering if C++ has some kind of default new socket wrapper, that
avoids many lines of code. Maybe there is a good C++ library?
Any ideas? I'm using UNIX, but portability would be great.
Regards 4 5153
"crashnburn" <cr********@ip.pt> wrote... I was wondering if C++ has some kind of default new socket wrapper, that avoids many lines of code.
No, it most certainly doesn't.
Maybe there is a good C++ library?
Try looking for a post (happens here once a month or so) from
Nikki Locke, titled "Available C++ Libraries FAQ". It has
a link to an online list of various libraries, communications
is probably one of the sections there.
Any ideas? I'm using UNIX, but portability would be great.
Maybe you should ask in a UNIX programming newsgroup?...
Victor
crashnburn wrote: Hi there,
I was wondering if C++ has some kind of default new socket wrapper, that avoids many lines of code. Maybe there is a good C++ library?
Any ideas? I'm using UNIX, but portability would be great.
Standard C++, the topic of this newsgroup, knows not of sockets.
Therefore your question is decidedly off-topic.
--ag
[hint: do a web search "C++ sockets" and you'll find plenty of options]
--
Artie Gold -- Austin, Texas
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
On Wed, 02 Jul 2003 20:35:52 +0100, crashnburn <cr********@ip.pt>
wrote: Hi there,
I was wondering if C++ has some kind of default new socket wrapper, that avoids many lines of code. Maybe there is a good C++ library?
there are always going to be many lines of code. Any ideas? I'm using UNIX, but portability would be great.
sdl_net http://www.libsdl.org/projects/SDL_net/
works in 'nix and winders Regards
On Wed, 16 Jul 2003 20:20:09 GMT, "Daniel T."
<po********@earthlink.net> wrote: Charles Wilkins <2boxers_at_comcast.net> wrote:
On Wed, 02 Jul 2003 20:35:52 +0100, crashnburn <cr********@ip.pt> wrote:
>Hi there, > >I was wondering if C++ has some kind of default new socket wrapper, that >avoids many lines of code. Maybe there is a good C++ library? there are always going to be many lines of code.
> >Any ideas? I'm using UNIX, but portability would be great. sdl_net http://www.libsdl.org/projects/SDL_net/ works in 'nix and winders
I didn't see anything about a socket library in SDL...
here is a link to an SDL_net socket library function http://jcatki.no-ip.org/SDL_net/SDL_net.html#SEC18 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tero Saarni |
last post by:
Hi,
I have several threads communicating with each other using events
stored in Queues. Threads block on Queue.get() until somebody
publishes an event in thread's event queue.
I need to add...
|
by: Dmitry Akselrod |
last post by:
Hello everyone,
I have a vb.net application that wraps the TCPListener object
in a class. The server connects to the local interface and establishes
itself on port 9900. It then polls for...
|
by: mrpolitics |
last post by:
So I'm working with PureIRCD (http://sourceforge.net/projects/pure-ircd)
and everything was fine untill yesterday when the server crashed. So I did
a cold restart and staretd the server back up...
|
by: Logan McKinley |
last post by:
I have a C# program that uses blocking sockets and want to allow the user to
stop the server. The problem I am having is the socket blocks on...
|
by: Adam Clauss |
last post by:
I am (attempting) to move an existing socket application to use raw sockets.
Right now, my application is essentially a port forwarder. Upon receiving a
connection, it will open a connection to...
|
by: BadOmen |
last post by:
Hi,
What is the different between 'System.Net.Sockets.Socket' and
'System.Net.Sockets.TcpClient'?
When do I use System.Net.Sockets.TcpClient and System.Net.Sockets.Socket??
Yours, Jonas
|
by: Michael Maercker |
last post by:
hi!
i'm really not into networking at all and have now been asigned the task of
porting a vb6-code into vb.net (compact framework, in this case) and the
code uses the winsock-control. i quickly...
|
by: J C |
last post by:
Hi,
I'm using UDPClient to make a simple DNS server. I notice that
intermittently and unpredictibly I get:
Unhandled Exception: System.Net.Sockets.SocketException: An existing
connection...
|
by: Adam01 |
last post by:
Im using cygwin to test the code of a server I am writing.
I've included sys/types.h, sys/socket.h, netdb.h, and arpa/inet.h.
And this is the output..
../../../sockets.cpp: In constructor...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |