Re: Port binding under linux in ASM
- From: tin.cans.and.string@xxxxxxxxx
- Date: Sun, 20 Apr 2008 06:52:43 -0700 (PDT)
On Apr 20, 1:52 am, Frank Kotler <fbkot...@xxxxxxxxxxx> wrote:
But at the "sys_call" level, there's really only one - "mov eax, 102"
- ebx takes the "command", or "subfunction", "SYS_SOCKET",
"SYS_BIND", "SYS_CONNECT", etc. and ecx takes a pointer to
a "parameter structure". The meanings of the parameters differs
depending on which "subfunction" we're doing, but (for some reason)
we recycle the same "structure".
Righto - and there's a dearth of information available on the web
concerning how to make use of the socketcall function at the assembly
level. If any of you know of a treasure trove of ASM-level
documentation on sockets programming, I'd love to get my grubby mitts
on it.
(that would be Nasm syntax... just "define" for Fasm??? What assembler
are you using, TC&S?)
I'm using NASM.
.
- Follow-Ups:
- Re: Port binding under linux in ASM
- From: Evenbit
- Re: Port binding under linux in ASM
- From: Chuck Crayne
- Re: Port binding under linux in ASM
- References:
- Port binding under linux in ASM
- From: tin . cans . and . string
- Re: Port binding under linux in ASM
- From: Chuck Crayne
- Re: Port binding under linux in ASM
- From: tin . cans . and . string
- Re: Port binding under linux in ASM
- From: tin . cans . and . string
- Re: Port binding under linux in ASM
- From: tin . cans . and . string
- Re: Port binding under linux in ASM
- From: Chuck Crayne
- Re: Port binding under linux in ASM
- From: Frank Kotler
- Port binding under linux in ASM
- Prev by Date: Re: Port binding under linux in ASM
- Next by Date: Re: Port binding under linux in ASM
- Previous by thread: Re: Port binding under linux in ASM
- Next by thread: Re: Port binding under linux in ASM
- Index(es):