| View previous topic :: View next topic |
| Author |
Message |
DickyDick
Joined: 21 Aug 2004 Posts: 29
|
Posted: Sat Aug 21, 2004 2:37 am Post subject: ip broadcast setsockopt |
|
|
In ps2sdk setsockopt is not defined.. or is it?
i want to do this:
setsockopt (socket, SOL_SOCKET, SO_BROADCAST) |
|
| Back to top |
|
 |
Oobles Site Admin
Joined: 17 Jan 2004 Posts: 362 Location: Melbourne, Australia
|
Posted: Sat Aug 21, 2004 11:23 am Post subject: |
|
|
| You will need to look at the ps2ip.h file and see what functions are exported. If you don't find it there, it will be worth looking at the LWIP project and seeing if its available. It's possible the function hasn't been exported from LWIP, or also quite possible that LWIP doesn't support broadcast. |
|
| Back to top |
|
 |
pukko
Joined: 17 Jan 2004 Posts: 17
|
Posted: Sun Aug 22, 2004 7:52 am Post subject: |
|
|
| It's called lwip_setsockopt(), and defined in ps2ip.h |
|
| Back to top |
|
 |
DickyDick
Joined: 21 Aug 2004 Posts: 29
|
Posted: Tue Aug 24, 2004 6:42 am Post subject: |
|
|
| pukko wrote: | | It's called lwip_setsockopt(), and defined in ps2ip.h |
I see it is under the iop/include tree. So does this mean i only have to load the ps2ip.irx in to the iop and call lwip_setsockopt from another iop program? Or ca n call lwip_setsockopt someway from my main EE program? |
|
| Back to top |
|
 |
|