Socket, C and Windows

C

Claudio Neri

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
 
M

Mark A. Odell

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.
 
C

claudioneri

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?
 
J

Joona I Palaste

claudioneri said:
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?
 
R

Richard Bos

claudioneri said:
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
 
C

claudioneri

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
 
J

Jens.Toerring

Claudio Neri said:
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
 
J

Joona I Palaste

claudioneri said:
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.
 
C

claudioneri

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
 
M

Mark McIntyre

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,138
Messages
2,570,804
Members
47,349
Latest member
jojonoy597

Latest Threads

Top