Hi.
I've searched a lot on google, but no one seems to develop
a socket class for c++?
I've found a lot of classes that works only on Windows.
The thing is that I need a BSD socket library.
I tried socket++1.1, but i guess that is too old, since it doesen't
compile
on gcc-3.3
So, does any one knows where I can find a good class/library for
sockets, in c++? 7 2929 gr****@gmail.com wrote: Hi.
I've searched a lot on google, but no one seems to develop a socket class for c++? I've found a lot of classes that works only on Windows. The thing is that I need a BSD socket library. I tried socket++1.1, but i guess that is too old, since it doesen't compile on gcc-3.3
So, does any one knows where I can find a good class/library for sockets, in c++? http://www.alhem.net/Sockets/index.html gr****@gmail.com wrote: Hi.
I've searched a lot on google, but no one seems to develop a socket class for c++? I've found a lot of classes that works only on Windows. The thing is that I need a BSD socket library. I tried socket++1.1, but i guess that is too old, since it doesen't compile on gcc-3.3
So, does any one knows where I can find a good class/library for sockets, in c++?
I suggest netclass library. It's multiplatform socket, thread library. http://netclass.sourceforge.net/
--
Gregor Razdrtic [Mufe] mu**@poizen.org
Thanks.
I'll try both of them, and see which one suits my
needs.
<gr****@gmail.com> ha scritto nel messaggio
news:11**********************@f14g2000cwb.googlegr oups.com... Hi.
I've searched a lot on google, but no one seems to develop a socket class for c++? I've found a lot of classes that works only on Windows. The thing is that I need a BSD socket library. I tried socket++1.1, but i guess that is too old, since it doesen't compile on gcc-3.3
So, does any one knows where I can find a good class/library for sockets, in c++? http://sourceforge.net/projects/fedlibrary/
<gr****@gmail.com> wrote in message news:11**********************@f14g2000cwb.googlegr oups.com... Hi.
I've searched a lot on google, but no one seems to develop a socket class for c++? I've found a lot of classes that works only on Windows. The thing is that I need a BSD socket library. I tried socket++1.1, but i guess that is too old, since it doesen't compile on gcc-3.3
So, does any one knows where I can find a good class/library for sockets, in c++?
C++ Stream Compatible TCP/IP Sockets http://sourceforge.net/projects/cpp-sockets/
--
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com http://mathforum.org/library/view/10978.html http://sourceforge.net/users/alexvn C++ Stream Compatible TCP/IP Sockets http://sourceforge.net/projects/cpp-sockets/
Alex,
Have you tried to compile this on SUN? I get:
make
------------------
rm -f sockets.o
CC -I. -w -D__UNIX__ -DSCREEN_LOG=1 -DMILESTONE_LOG=1 -DTRACE_LOG=0 -c
sockets.cpp
"sockets.h", line 116: Error: TCPSocketWrapper::socket_type is not
accessible from TCPSocketWrapper::TCPAcceptedSocket.
"sockets.h", line 121: Error: TCPSocketWrapper::socket_type is not
accessible from TCPSocketWrapper::TCPAcceptedSocket.
"sockets.cpp", line 107: Error: TCPSocketWrapper::socket_type is not
accessible from TCPSocketWrapper::TCPAcceptedSocket.
"sockets.cpp", line 357: Error: INADDR_NONE is not defined.
4 Error(s) detected.
"Winbatch" <wi******@techie.com> wrote in message news:6V*********************@twister.nyc.rr.com... C++ Stream Compatible TCP/IP Sockets http://sourceforge.net/projects/cpp-sockets/
Alex,
Have you tried to compile this on SUN? I get: make ------------------ rm -f sockets.o CC -I. -w -D__UNIX__ -DSCREEN_LOG=1 -DMILESTONE_LOG=1 -DTRACE_LOG=0 -c sockets.cpp "sockets.h", line 116: Error: TCPSocketWrapper::socket_type is not accessible from TCPSocketWrapper::TCPAcceptedSocket. "sockets.h", line 121: Error: TCPSocketWrapper::socket_type is not accessible from TCPSocketWrapper::TCPAcceptedSocket. "sockets.cpp", line 107: Error: TCPSocketWrapper::socket_type is not accessible from TCPSocketWrapper::TCPAcceptedSocket. "sockets.cpp", line 357: Error: INADDR_NONE is not defined. 4 Error(s) detected.
Hi,
I have compile that with compiler GNU g++ 3.3.1 on Windows in Cygwin environment (UNIX-like OS).
There were no problems.
I didn't compile it on SUN.
Could you compile that with GNU g++?
Also please look on lines 100-106 in "sockets.h".
Which typedef is actually applied in your system?
--
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com http://mathforum.org/library/view/10978.html http://sourceforge.net/users/alexvn This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: J. Dudgeon |
last post by:
Hello,
I've written a server that acts as a proxy between the PC and the mainframe
worlds. This server service is writting in C# w/.NET 1.1. The service is
TCP/IP based and makes heavy use of...
|
by: Montrose... |
last post by:
After working in c# for a year, the only conclusion I can come to is
that I wish I knew c.
All I need is Linux, the gnu c compiler and I can do anything.
Web services are just open sockets...
|
by: Ed Fair |
last post by:
Hi,
I am having a name collision between a library call and a class I've
created.
My class is called "socket", it abstracts a TCP socket.
In my constructors for my class, I am calling the...
|
by: Tor Erik Sřnvisen |
last post by:
Hi
I need to browse the socket-module source-code. I believe it's contained in
the file socketmodule.c, but I can't locate this file... Where should I
look?
regards tores
|
by: mirandacascade |
last post by:
Version of python: 2.4
O/S: Win2K
I will be writing some python scripts to do some client-side
programming that involves socket.py. I expect that I will be making
calls to the following...
|
by: Dica |
last post by:
i've been asked to write an app making use of reports.vb class, but i can't
seem to find it..
|
by: Daniel Sélen Secches |
last post by:
I found a good class to do a simple FTP.
Very good....
I'm posting it with the message, i hope it helps someone
==============================================================
Imports...
|
by: John Pote |
last post by:
Hi all,
I want to use python on a server to access incoming TCP port accesses. So I
need to use the socket interface which is new to me. To quote the Py Library
Reference "7.2 socket --...
|
by: fniles |
last post by:
I am using ThreadPool to call a sub in a class. The first time the
ThreadPool is called, I created a socket in the thread. I can connect a
client to the socket and send a message to the client (in...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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...
| |