|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Can i create 4 sockets on same ip address with different portnumbers.
I am working on windows mobile. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
udayahirwal2@gmail.com wrote, On 05/05/08 14:24:
> Can i create 4 sockets on same ip address with different portnumbers. > I am working on windows mobile. You will have to ask in one of the Windows groups since this is system specific. -- Flash Gordon |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On 5 May 2008 at 13:24, udayahirwal2@gmail.com wrote:
> Can i create 4 sockets on same ip address with different portnumbers. > I am working on windows mobile. There's no reason why you shouldn't be able to. Why don't you post a snippet of whatever code isn't working? |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
udayahirwal2@gmail.com writes:
> Can i create 4 sockets on same ip address with different portnumbers. > I am working on windows mobile. By now you may have seen a followup from "Antoninus Twink" inviting you to post your code here. Please don't. You'll get much better answers if you post to a newsgroup that discusses your operating system. Sockets are not a feature of the C language. -- Keith Thompson (The_Other_Keith) <kst-u@mib.org> Nokia "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister" |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On May 5, 2:24pm, udayahirw...@gmail.com wrote:
> Can i create 4 sockets on same ip address with different portnumbers. > I am working on windows mobile. Yes, you certainly can, and you can do it portably so that your code will compile for Linux, Windows, Solaris, Playstation 3, what have you. You'll need to use a cross-platform library for doing so, the big two being pCap and "Berkeley sockets". |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
In article <4458e116-2d6d-4554-aa4d-9616d2df4344@l42g2000hsc.googlegroups.com>,
=?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= <toe@lavabit.com> wrote: >On May 5, 2:24=A0pm, udayahirw...@gmail.com wrote: >> Can i create 4 sockets on same ip address with different portnumbers. >> I am working on windows mobile. >Yes, you certainly can, and you can do it portably so that your code >will compile for Linux, Windows, Solaris, Playstation 3, what have >you. >You'll need to use a cross-platform library for doing so, the big two >being pCap and "Berkeley sockets". If by pCap you refer to http://sourceforge.net/projects/libpcap/ then: Operating System : All POSIX (Linux/BSD/UNIX-like OSes) There is WinPcap, which appears to be a port that extends support to MS Windows. But to my mind, "what have you" includes operating systems such as PalmOS, which is not Posix nor MS Windows, but does include TCP/IP. Your "what have you" appears to be overly general. -- "They called it golf because all the other four letter words were taken." -- Walter Hagen |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Walter Roberson wrote, On 05/05/08 18:37:
> In article <4458e116-2d6d-4554-aa4d-9616d2df4344@l42g2000hsc.googlegroups.com>, > =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= <toe@lavabit.com> wrote: >> On May 5, 2:24=A0pm, udayahirw...@gmail.com wrote: >>> Can i create 4 sockets on same ip address with different portnumbers. >>> I am working on windows mobile. > >> Yes, you certainly can, and you can do it portably so that your code >> will compile for Linux, Windows, Solaris, Playstation 3, what have >> you. > >> You'll need to use a cross-platform library for doing so, the big two >> being pCap and "Berkeley sockets". The Windows implementation of sockets is not quite the same as the Berkeley implementation. > If by pCap you refer to http://sourceforge.net/projects/libpcap/ > then: > > Operating System : All POSIX (Linux/BSD/UNIX-like OSes) > > There is WinPcap, which appears to be a port that extends support > to MS Windows. It does. However, WinCE, sorry, Windows Mobile, is *not* the same as Windows. > But to my mind, "what have you" includes operating systems such > as PalmOS, which is not Posix nor MS Windows, but does include > TCP/IP. Your "what have you" appears to be overly general. In particular I don't believe pcap supports the target of interest to the OP. Asking on a Windows Mobile group would be the OPs best recourse as has already been mentioned. -- Flash Gordon |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
Tomás Ó hÉilidhe wrote:
> udayahirw...@gmail.com wrote: > >> Can i create 4 sockets on same ip address with different >> portnumbers. I am working on windows mobile. > > Yes, you certainly can, and you can do it portably so that your > code will compile for Linux, Windows, Solaris, Playstation 3, > what have you. > > You'll need to use a cross-platform library for doing so, the > big two being pCap and "Berkeley sockets". Please don't reply to such off-topic queries other than to redirect the queryier to an appropriate newsgroup. This has nothing to do with C, and should go to some sort of windows newsgroup. -- [mail]: Chuck F (cbfalconer at maineline dot net) [page]: <http://cbfalconer.home.att.net> Try the download section. ** Posted from http://www.teranews.com ** |
|
![]() |
| Outils de la discussion | |
|
|