473,808 Members | 2,882 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C++ Sockets interface

Is there an comprehensive C++ library for sockets that works both on
Unix/Linux and on Windows ?

Many thanks in advance,

Aaron
Aug 4 '05 #1
5 1633
Aaron Gray wrote:
Is there an comprehensive C++ library for sockets that works both on
Unix/Linux and on Windows ?

Many thanks in advance,

Aaron

try this: http://www.alhem.net/Sockets/index.html
Aug 4 '05 #2
Try ACE library, our company which develops large scale projects so as
to be portable both in solaris and windows uses this library.

Aug 4 '05 #3

"Aaron Gray" <an********@gma il.com> wrote in message news:dc******** ***********@new s.demon.co.uk.. .
Is there an comprehensive C++ library for sockets that works both on
Unix/Linux and on Windows ?

Many thanks in advance,

Aaron


Look at "C++ Stream Compatible TCP/IP Sockets"
https://sourceforge.net/projects/cpp-sockets/
http://alexvn.freeservers.com/s1/sock.html
--
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn

Aug 4 '05 #4
"Aaron Gray" <an********@gma il.com> writes:
Is there an comprehensive C++ library for sockets that works both on
Unix/Linux and on Windows ?


I like 'asio'.

http://asio.sf.net

S.
Aug 5 '05 #5
use ACE.
http://www.cs.wustl.edu/~schmidt/ACE.html

"Fibre Optic" <fi*********@go 2.pl> ??????:dc****** ****@inews.gaze ta.pl...
Aaron Gray wrote:
Is there an comprehensive C++ library for sockets that works both on
Unix/Linux and on Windows ?

Many thanks in advance,

Aaron

try this: http://www.alhem.net/Sockets/index.html

Aug 9 '05 #6

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

Similar topics

1
3800
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 pending connections every 500ms. I also have a vb6 application that uses the WinSock control at the other end of the communication tunel. I have to work with vb6 here because it uses less memory than .NET.
10
2721
by: Cory Nelson | last post by:
I've created a new C++ sockets library - small, cross-platform, IPv4 and IPv6. If anyone would like to critique it, I'd appreciate it. Doesn't support the more exotic protocols - only TCP and UDP. It also lacks get/setsockopt and ioctl, but those may be added in the future. There is no webpage for it yet, I plan on making one once I'm 100% sure of everything. For now the source is available here: http://dev.int64.org/netx.zip PS....
2
2284
by: Dave | last post by:
Hi. I have an application that uses sockets, as per below: m_clientSocket = new Socket (AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp ); int iPortNo =8000; IPEndPoint ipEnd = new IPEndPoint (ip,iPortNo); m_clientSocket.Connect ( ipEnd ); It works fine, however when I close my application, the application does not receive any more data via the sockets and the application that sends it the
2
6673
by: a_agaga | last post by:
Do you know are there some reasons why many do not make processes to communicate through memory? Why network connections (sockets) are used so commonly in IPC (inter process communication) instead of memory? (Is IPC harder to maintain / handle if it is made through memory, when compared to communication through sockets?) Some background things:
0
1156
by: richard.charts | last post by:
Well, unfortunately, I couldn't get any answer on the msdn forums, so I'll give it a shot here. Real question at the bottom. --------------------------------------------------------------------------------------------- What new functionality is added to this feature in Windows XP Service Pack 2? Restricted traffic over raw sockets Detailed description
0
1456
by: rossabri | last post by:
This topic has been addressed in limited detail in other threads: "sockets don't play nice with new style classes :(" May 14 2005. http://groups.google.com/group/comp.lang.python/browse_thread/thread/76d27388b0d286fa/c9849013e37c995b "Subclassing socket" Dec 20 2005 - Jan 14 2006. http://groups.google.com/group/comp.lang.python/browse_thread/thread/391728cd442339c8/c0581b9ee5e7ceaf Briefly, the socket module ("socket.py") provides a...
2
3601
by: =?Utf-8?B?U2Vhbk1hYw==?= | last post by:
I am familiar with how to use winsock in vb6 to create a network app. I'm trying to find a way to take the current vb6 app and create a windows service using system.net.sockets. How do you create a service (for the server side) that accepts incoming client connections using system.net.sockets? -- Sean McIntire
25
190
by: 4.4.bsd | last post by:
Is there any possible way to use sockets in C, so i can finish a instant messenger program?
0
9721
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10631
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.