473,491 Members | 2,524 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Socket, C and Windows

Hi everybody, I'm Claudio from Rome.
I'm developying in Cfor univeristy and I have to transfrm a *nix chat
server to a win chat server.
I tryed to change the incudes at the top of the source and the I compiled
all.
Cpompiled with no errors but then it could'nt create the exe file. Maybe
there is an error with the linker.

Can you help me?
If you want I could send you the exact message of the linker

Thanx
Claudio
Nov 14 '05 #1
10 3441
"Claudio Neri" <cl*********@libero.it> wrote in
news:bv************@ID-92622.news.uni-berlin.de:
I'm developying in Cfor univeristy and I have to transfrm a *nix chat
server to a win chat server.
I tryed to change the incudes at the top of the source and the I
compiled all.
Cpompiled with no errors but then it could'nt create the exe file. Maybe
there is an error with the linker.

Can you help me?


Sadly no, not here. Here is where discuss the C language - not linking or
compiling with a given vendor's product. You'd be better off finding a
newsgroup that discusses your compiler and linker.

--
- Mark ->
--
Nov 14 '05 #2
maybe I can ask you one thing, if I tell you the name of the *nix library,
could you tell me the same library under windows?

"Mark A. Odell" <no****@embeddedfw.com> ha scritto nel messaggio
news:Xn*******************************@130.133.1.4 ...
"Claudio Neri" <cl*********@libero.it> wrote in
news:bv************@ID-92622.news.uni-berlin.de:
I'm developying in Cfor univeristy and I have to transfrm a *nix chat
server to a win chat server.
I tryed to change the incudes at the top of the source and the I
compiled all.
Cpompiled with no errors but then it could'nt create the exe file. Maybe
there is an error with the linker.

Can you help me?


Sadly no, not here. Here is where discuss the C language - not linking or
compiling with a given vendor's product. You'd be better off finding a
newsgroup that discusses your compiler and linker.

--
- Mark ->
--

Nov 14 '05 #3
claudioneri <cl*********@libero.it> scribbled the following:
maybe I can ask you one thing, if I tell you the name of the *nix library,
could you tell me the same library under windows?
Mark told you your question was about a vendor-specific product and
you'd be better off finding a more proper newsgroup. What part of that
did you not understand?
"Mark A. Odell" <no****@embeddedfw.com> ha scritto nel messaggio
news:Xn*******************************@130.133.1.4 ...
"Claudio Neri" <cl*********@libero.it> wrote in
news:bv************@ID-92622.news.uni-berlin.de:
> I'm developying in Cfor univeristy and I have to transfrm a *nix chat
> server to a win chat server.
> I tryed to change the incudes at the top of the source and the I
> compiled all.
> Cpompiled with no errors but then it could'nt create the exe file. Maybe
> there is an error with the linker.
>
> Can you help me?


Sadly no, not here. Here is where discuss the C language - not linking or
compiling with a given vendor's product. You'd be better off finding a
newsgroup that discusses your compiler and linker.


--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"The truth is out there, man! Way out there!"
- Professor Ashfield
Nov 14 '05 #4
Always problems on NG, I don't think there's nobody that uses win to compile
C
Nov 14 '05 #5
"claudioneri" <cl*********@libero.it> wrote:
maybe I can ask you one thing, if I tell you the name of the *nix library,
could you tell me the same library under windows?


What makes you so sure that there even is such a thing as "the same"
library under M$-Windows?

Richard
Nov 14 '05 #6
Not the same. I'm sorry for my English, I'm italian so I may not find the
same word.
With "same" I mean the correspondent library of *nix but under windows. So
I'm looking for a library that has the same role and function
What makes you so sure that there even is such a thing as "the same"
library under M$-Windows?

Richard

Nov 14 '05 #7
Claudio Neri <cl*********@libero.it> wrote:
Hi everybody, I'm Claudio from Rome.
I'm developying in Cfor univeristy and I have to transfrm a *nix chat
server to a win chat server.
I tryed to change the incudes at the top of the source and the I compiled
all.
Cpompiled with no errors but then it could'nt create the exe file. Maybe
there is an error with the linker. Can you help me?
If you want I could send you the exact message of the linker


Claudio,

already the fact that your problem involves differences between
UNIX and Windows is a strong indicator that your question is off-topic
in comp.lang.c. This group is for discussions about the C language
as defined by the standard(s), which is completely independend of the
platform you're using. Moreover, issues with linkers (which aren't
related to the language you use anyway) are also frowned upon here.

Since your problem actually seems to be a Windows linker problem
your best bet may be a group discussing Windows programming of which
there are several. An alternative could be comp.unix.programmer.
While that's a UNIX group there are several people who also work with
Windows and may be able to help you.

Whatever you decide to do please include the error messages you got
and what changes concerning the include files you did apply, without
these informations your question is that unspecific that it's rather
likely that nobody will be able to answer it. Other important pieces
of information might be the Windows version you're using, the compiler
you have etc.
Regards, Jens
--
\ Jens Thoms Toerring ___ Je***********@physik.fu-berlin.de
\__________________________ http://www.physik.fu-berlin.de/~toerring
Nov 14 '05 #8
claudioneri <cl*********@libero.it> scribbled the following:
Always problems on NG, I don't think there's nobody that uses win to compile
C


Plenty of us do. But we talk about Windows-specific stuff on Windows-
specific newsgroup.
This is a newsgroup about standard C. There are other newsgroups for
implementation-specific extensions. The fact that we don't discuss
those extensions here is because of the same reason you don't discuss
motorcycle maintenance with your bank manager. Different topics!
But we don't have anything *against* implementation-specific extensions.
We are not saying they shouldn't be used, or that Windows should not be
used for compiling C. It's just irrelevant to comp.lang.c.

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"Insanity is to be shared."
- Tailgunner
Nov 14 '05 #9
I like this kind of answer.
You completely explain me why I'0m wrong, and where I can find some help
Tank u so much
Claudio,

already the fact that your problem involves differences between
UNIX and Windows is a strong indicator that your question is off-topic
in comp.lang.c. This group is for discussions about the C language
as defined by the standard(s), which is completely independend of the
platform you're using. Moreover, issues with linkers (which aren't
related to the language you use anyway) are also frowned upon here.

Since your problem actually seems to be a Windows linker problem
your best bet may be a group discussing Windows programming of which
there are several. An alternative could be comp.unix.programmer.
While that's a UNIX group there are several people who also work with
Windows and may be able to help you.

Whatever you decide to do please include the error messages you got
and what changes concerning the include files you did apply, without
these informations your question is that unspecific that it's rather
likely that nobody will be able to answer it. Other important pieces
of information might be the Windows version you're using, the compiler
you have etc.
Regards, Jens
--
\ Jens Thoms Toerring ___ Je***********@physik.fu-berlin.de
\__________________________ http://www.physik.fu-berlin.de/~toerring

Nov 14 '05 #10
On Fri, 30 Jan 2004 10:31:22 +0100, in comp.lang.c , "claudioneri"
<cl*********@libero.it> wrote:
Not the same. I'm sorry for my English, I'm italian so I may not find the
same word.
With "same" I mean the correspondent library of *nix but under windows. So
I'm looking for a library that has the same role and function


Even that may not be possible, and even if there's a library which
offers the same services, the functions may be totally different.

You really do need to ask in a programming group specialising in your
target system. They will know which functions to use. We don't.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>
----== 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 =---
Nov 14 '05 #11

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

Similar topics

0
1624
by: Colin Brown | last post by:
Python2.3.2: Running the following receiver and sender code in separate windows under Win2K does not work properly (missed & very delayed transmissions). Under Redhat Linux 9 (where I will be using...
11
6791
by: Mike M | last post by:
Is it possible? In the parent process, I have a socket that binds, listens and then accepts new connections (which creates new sockets in the process). I want to be able to pass some of these new...
4
11344
by: Haim | last post by:
it is very strange for me that a simple event of closing socket that was in the the winsock object of vb6 , i didn't found yet in the vb.net the only way i found is to try to send something to...
2
29829
by: Ravikumar | last post by:
Hi All, The following code snippet is a part of s/w which is downloaded from net. While compiling this code I got the following error. ...\..\snmplib\snmpTCPDomain.c(6) : fatal error C1083:...
0
1821
by: dan.jakubiec | last post by:
I'm trying to write a Python app which accepts a socket connection and then spawns another Python process to handle it. I need it to run under both Linux and Windows. I have it working under...
10
3539
by: John Nagle | last post by:
Here are three network-related exceptions. These were caught by "except" with no exception type, because none of the more specific exceptions matched. This is what a traceback produced: 1....
2
2385
by: Mirko Vogt | last post by:
Hey, it seems that the socket-module behaves differently on unix / windows when a timeout is set. Here an example: # test.py import socket...
0
964
by: Mirko Vogt | last post by:
Gabriel Genellina wrote: Hey, this is strange. Linux: $ python --version Python 2.5.2 $ Windows:
1
7118
by: keksy | last post by:
Hi every1, I am writing a small client/server application and in it I want to send an image asynchronous from the client to the server through a TCP socket. I found an example code on the MSDN...
2
3519
by: Heikki Toivonen | last post by:
M2Crypto has some old code that gets and sets socket timeouts in http://svn.osafoundation.org/m2crypto/trunk/M2Crypto/SSL/Connection.py, for example: def get_socket_read_timeout(self): return...
0
7154
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,...
0
7190
jinu1996
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...
1
6858
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...
1
4881
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...
0
4578
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...
0
3086
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1392
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 ...
1
633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
280
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...

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.