flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
kerr
I want use fasm complie socket connect network, do youknow? please. help me!
_________________ I hope we will be good friends. |
|||
![]() |
|
Ville
System call 53 is for TCP/IP connections. With syscall 53/5 you can open a tcp/ip connection in active mode to a remote computer and then use the returned socket number for all the following system calls. With syscall 53/6 you should wait for the connection to be established (state 4) and then use system calls 53/7,53/17,53/3,53/13 for sending and receiving data. Once the connection is over or closed by the remote computer, you need to close the connection with syscall 53/8. You can also open a listening connection with syscall 53/5 in passive mode for server purposes. See: http://menuetos.net/syscall.txt
|
|||
![]() |
|
kerr
Ville wrote: System call 53 is for TCP/IP connections. With syscall 53/5 you can open a tcp/ip connection in active mode to a remote computer and then use the returned socket number for all the following system calls. With syscall 53/6 you should wait for the connection to be established (state 4) and then use system calls 53/7,53/17,53/3,53/13 for sending and receiving data. Once the connection is over or closed by the remote computer, you need to close the connection with syscall 53/8. You can also open a listening connection with syscall 53/5 in passive mode for server purposes. See: http://menuetos.net/syscall.txt oh, i don't use menuetOS system api , i want myself complie use fasm complie sockets! want is very trouble. _________________ I hope we will be good friends. |
|||
![]() |
|
antos
What do you mean? If you learn English, maybe we can help you.
|
|||
![]() |
|
kerr
antos wrote: Simply, you can't. You can't access Internet Card without use system calls, even you can, you need to implement sockets and other protocols again. This is job of the OS. This is purpose of the OS. Do not try to reinvent the wheel. Yes I need to implement sockets and other protocols again. _________________ I hope we will be good friends. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.