2013-05-28 19:34:26 +02:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;; ;;
|
2014-01-18 16:51:43 +01:00
|
|
|
;; Copyright (C) KolibriOS team 2004-2014. All rights reserved. ;;
|
2013-05-28 19:34:26 +02:00
|
|
|
;; Distributed under terms of the GNU General Public License ;;
|
|
|
|
;; ;;
|
2013-11-01 15:02:08 +01:00
|
|
|
;; Written by hidnplayr@kolibrios.org ;;
|
2013-05-28 19:34:26 +02:00
|
|
|
;; ;;
|
|
|
|
;; GNU GENERAL PUBLIC LICENSE ;;
|
|
|
|
;; Version 2, June 1991 ;;
|
|
|
|
;; ;;
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
|
|
|
|
|
|
|
user_parser:
|
|
|
|
|
2013-11-01 15:02:08 +01:00
|
|
|
push [window_active] ; print to the current window
|
|
|
|
pop [window_print]
|
|
|
|
|
2013-05-28 19:34:26 +02:00
|
|
|
mov eax, [edit1.size]
|
2013-05-29 10:47:31 +02:00
|
|
|
test eax, eax
|
2014-01-18 16:51:43 +01:00
|
|
|
jz .ret ; ignore empty commands
|
2013-05-28 19:34:26 +02:00
|
|
|
mov word [usercommand + eax], 0x0a0d ; terminate the line
|
|
|
|
|
|
|
|
cmp byte[usercommand], '/' ; is it a server command ?
|
|
|
|
je server_command
|
|
|
|
|
|
|
|
; Ignore data commands when not connected.
|
|
|
|
cmp [status], STATUS_CONNECTED
|
2014-01-18 16:51:43 +01:00
|
|
|
jne .notconnected
|
2013-05-28 19:34:26 +02:00
|
|
|
|
|
|
|
; Ok, we said something, print it to our textbox
|
|
|
|
; TODO: dont send if it's a server window?
|
|
|
|
|
2013-11-01 15:02:08 +01:00
|
|
|
if TIMESTAMP
|
2013-05-28 19:34:26 +02:00
|
|
|
call print_timestamp
|
2013-11-01 15:02:08 +01:00
|
|
|
end if
|
2013-05-28 19:34:26 +02:00
|
|
|
|
|
|
|
mov bl, '<'
|
|
|
|
call print_character
|
|
|
|
|
|
|
|
mov esi, user_nick
|
|
|
|
call print_text2
|
|
|
|
|
2013-10-07 16:02:05 +02:00
|
|
|
mov bl, '>'
|
2013-05-28 19:34:26 +02:00
|
|
|
call print_character
|
2013-10-07 16:02:05 +02:00
|
|
|
mov bl, ' '
|
2013-05-28 19:34:26 +02:00
|
|
|
call print_character
|
|
|
|
|
|
|
|
mov eax, [edit1.size]
|
|
|
|
mov byte[usercommand + eax],0
|
|
|
|
|
|
|
|
mov esi, usercommand
|
|
|
|
call print_text2
|
|
|
|
|
|
|
|
mov bl, 10
|
|
|
|
call print_character
|
|
|
|
|
|
|
|
; and now send it to the server
|
2013-11-01 15:02:08 +01:00
|
|
|
mov dword[packetbuf], 'PRIV'
|
|
|
|
mov dword[packetbuf+4], 'MSG '
|
2013-05-28 19:34:26 +02:00
|
|
|
|
2013-10-07 16:02:05 +02:00
|
|
|
mov esi, [window_active]
|
2013-05-28 19:34:26 +02:00
|
|
|
add esi, window.name
|
|
|
|
mov edi, packetbuf+8
|
|
|
|
mov ecx, MAX_WINDOWNAME_LEN
|
|
|
|
.loop:
|
|
|
|
lodsb
|
|
|
|
test al, al
|
|
|
|
jz .done
|
|
|
|
stosb
|
|
|
|
dec ecx
|
|
|
|
jnz .loop
|
|
|
|
.done:
|
|
|
|
|
|
|
|
mov ax, ' :'
|
|
|
|
stosw
|
|
|
|
|
|
|
|
mov esi, usercommand
|
|
|
|
mov ecx, [edit1.size]
|
|
|
|
inc ecx
|
|
|
|
call recode
|
|
|
|
|
2013-11-01 15:02:08 +01:00
|
|
|
; end the command with a CRLF
|
|
|
|
mov ax, 0x0a0d
|
|
|
|
stosw
|
2013-05-28 19:34:26 +02:00
|
|
|
|
|
|
|
lea esi, [edi - packetbuf]
|
|
|
|
mcall send, [socketnum], packetbuf, , 0
|
2014-01-18 16:51:43 +01:00
|
|
|
.ret:
|
2013-05-28 19:34:26 +02:00
|
|
|
|
2014-01-18 16:51:43 +01:00
|
|
|
ret
|
|
|
|
|
|
|
|
.notconnected:
|
|
|
|
mov esi, str_notconnected
|
|
|
|
call print_text2
|
2013-05-28 19:34:26 +02:00
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
user_commands:
|
|
|
|
dd 'nick', cmd_usr_nick
|
|
|
|
dd 'real', cmd_usr_real
|
|
|
|
dd 'serv', cmd_usr_server
|
|
|
|
dd 'help', cmd_usr_help
|
|
|
|
dd 'code', cmd_usr_code
|
2013-11-01 15:02:08 +01:00
|
|
|
|
2014-01-18 16:51:43 +01:00
|
|
|
.number2 = ($ - user_commands) / 8
|
|
|
|
|
|
|
|
; All following commands require a connection to the server.
|
2013-05-28 19:34:26 +02:00
|
|
|
dd 'quer', cmd_usr_quer
|
|
|
|
dd 'quit', cmd_usr_quit
|
2013-10-07 16:02:05 +02:00
|
|
|
dd 'part', cmd_usr_part
|
2013-11-01 15:02:08 +01:00
|
|
|
dd 'ctcp', cmd_usr_ctcp
|
|
|
|
dd 'msg ', cmd_usr_msg
|
2013-05-28 19:34:26 +02:00
|
|
|
|
|
|
|
.number = ($ - user_commands) / 8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
server_command:
|
|
|
|
|
2014-01-18 16:51:43 +01:00
|
|
|
mov eax, dword[usercommand+1] ; skip '/'
|
|
|
|
or eax, 0x20202020 ; convert to lowercase
|
2013-05-28 19:34:26 +02:00
|
|
|
|
|
|
|
mov edi, user_commands
|
|
|
|
mov ecx, user_commands.number
|
2014-01-18 16:51:43 +01:00
|
|
|
cmp [status], STATUS_CONNECTED
|
|
|
|
jne .loop
|
|
|
|
mov ecx, user_commands.number2
|
2013-05-28 19:34:26 +02:00
|
|
|
.loop:
|
|
|
|
scasd
|
|
|
|
je .got_cmd
|
|
|
|
add edi, 4
|
|
|
|
dec ecx
|
|
|
|
jnz .loop
|
2014-01-18 16:51:43 +01:00
|
|
|
|
|
|
|
cmp [status], STATUS_CONNECTED
|
|
|
|
jne .notconnected
|
|
|
|
|
|
|
|
jmp cmd_usr_send ; If none of the previous commands, just send to server
|
2013-05-28 19:34:26 +02:00
|
|
|
|
|
|
|
.got_cmd:
|
|
|
|
jmp dword[edi]
|
|
|
|
|
2014-01-18 16:51:43 +01:00
|
|
|
.notconnected:
|
|
|
|
mov esi, str_notconnected
|
|
|
|
call print_text2
|
2013-05-28 19:34:26 +02:00
|
|
|
|
2014-01-18 16:51:43 +01:00
|
|
|
ret
|
2013-05-28 19:34:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-01 15:02:08 +01:00
|
|
|
cmd_usr_msg:
|
|
|
|
|
|
|
|
lea esi, [usercommand+5]
|
|
|
|
|
|
|
|
mov dword[packetbuf], 'PRIV'
|
|
|
|
mov dword[packetbuf+4], 'MSG '
|
|
|
|
lea edi, [packetbuf+8]
|
|
|
|
|
|
|
|
@@:
|
|
|
|
lodsb
|
|
|
|
test al, al
|
|
|
|
jz .fail
|
|
|
|
cmp al, 10
|
|
|
|
je .fail
|
|
|
|
cmp al, 13
|
|
|
|
je .fail
|
|
|
|
stosb
|
|
|
|
cmp al, ' '
|
|
|
|
jne @r
|
|
|
|
|
|
|
|
mov al, ':'
|
|
|
|
stosb
|
|
|
|
|
|
|
|
push edi
|
|
|
|
@@:
|
|
|
|
lodsb
|
|
|
|
test al, al
|
|
|
|
jz @f
|
|
|
|
cmp al, 10
|
|
|
|
je @f
|
|
|
|
cmp al, 13
|
|
|
|
je @f
|
|
|
|
stosb
|
|
|
|
jmp @r
|
|
|
|
@@:
|
|
|
|
; end the command with a CRLF
|
|
|
|
mov ax, 0x0a0d
|
|
|
|
stosw
|
|
|
|
mov byte[edi], 0
|
2013-05-28 19:34:26 +02:00
|
|
|
|
2013-11-01 15:02:08 +01:00
|
|
|
lea esi, [edi - packetbuf]
|
|
|
|
mcall send, [socketnum], packetbuf, , 0
|
|
|
|
|
|
|
|
; now print to the window
|
|
|
|
if TIMESTAMP
|
|
|
|
call print_timestamp
|
|
|
|
end if
|
|
|
|
|
|
|
|
mov esi, msg_header
|
|
|
|
call print_text2
|
|
|
|
|
|
|
|
mov eax, packetbuf+8
|
|
|
|
mov dl, ' '
|
|
|
|
call print_text
|
|
|
|
|
|
|
|
mov bl, '*'
|
|
|
|
call print_character
|
|
|
|
|
|
|
|
mov bl, ' '
|
|
|
|
call print_character
|
|
|
|
|
|
|
|
pop esi
|
|
|
|
call print_text2
|
|
|
|
|
|
|
|
.fail:
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cmd_usr_quit:
|
2013-10-07 16:02:05 +02:00
|
|
|
mov esi, quit_msg
|
2013-05-28 19:34:26 +02:00
|
|
|
|
2013-10-07 16:02:05 +02:00
|
|
|
cmp byte[usercommand+5], ' '
|
2013-11-01 15:02:08 +01:00
|
|
|
jne .with_message
|
|
|
|
lea esi, [usercommand+6]
|
|
|
|
.with_message:
|
2013-10-07 16:02:05 +02:00
|
|
|
call cmd_usr_quit_server
|
2013-05-28 19:34:26 +02:00
|
|
|
|
|
|
|
mcall close, [socketnum]
|
2013-11-01 15:02:08 +01:00
|
|
|
mov [status], STATUS_DISCONNECTED
|
2013-05-28 19:34:26 +02:00
|
|
|
|
|
|
|
mov ecx, MAX_WINDOWS
|
|
|
|
mov edi, windows
|
|
|
|
.loop:
|
2013-11-01 15:02:08 +01:00
|
|
|
mov [window_print], edi
|
|
|
|
push edi ecx
|
|
|
|
call window_close
|
|
|
|
pop ecx edi
|
2013-05-28 19:34:26 +02:00
|
|
|
add edi, sizeof.window
|
|
|
|
dec ecx
|
|
|
|
jnz .loop
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-07 16:02:05 +02:00
|
|
|
; esi = quit message
|
|
|
|
cmd_usr_quit_server:
|
|
|
|
|
|
|
|
; User wants to close a channel, send PART command to server
|
|
|
|
mov dword[packetbuf], 'QUIT'
|
|
|
|
mov word[packetbuf+4], ' :'
|
|
|
|
lea edi, [packetbuf+6]
|
|
|
|
; Append our quit msg
|
|
|
|
@@:
|
|
|
|
lodsb
|
2013-11-01 15:02:08 +01:00
|
|
|
cmp al, 13
|
|
|
|
je @f
|
2013-10-07 16:02:05 +02:00
|
|
|
test al, al
|
2013-11-01 15:02:08 +01:00
|
|
|
jz @f
|
|
|
|
stosb
|
|
|
|
jmp @r
|
|
|
|
@@:
|
2013-10-07 16:02:05 +02:00
|
|
|
; end the command with a CRLF
|
|
|
|
mov ax, 0x0a0d
|
|
|
|
stosw
|
|
|
|
|
|
|
|
lea esi, [edi - packetbuf] ; calculate length
|
|
|
|
mcall send, [socketnum], packetbuf, , 0 ; and finally send to server
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-05-28 19:34:26 +02:00
|
|
|
|
|
|
|
cmd_usr_nick:
|
|
|
|
|
|
|
|
cmp [edit1.size], 5
|
2013-11-01 15:02:08 +01:00
|
|
|
je .dontsend
|
2013-05-28 19:34:26 +02:00
|
|
|
cmp byte[usercommand+5], ' '
|
2013-11-01 15:02:08 +01:00
|
|
|
jne .fail
|
|
|
|
cmp [socketnum], 0
|
|
|
|
je .dontsend
|
|
|
|
|
|
|
|
mov dword[usercommand+1], 'NICK'
|
|
|
|
mov esi, [edit1.size]
|
|
|
|
mov word[usercommand + esi], 0x0a0d
|
|
|
|
inc esi
|
|
|
|
mcall send, [socketnum], usercommand+1, , 0
|
|
|
|
|
|
|
|
.fail:
|
2013-05-28 19:34:26 +02:00
|
|
|
|
2013-11-01 15:02:08 +01:00
|
|
|
ret
|
|
|
|
|
|
|
|
.dontsend:
|
2013-05-28 19:34:26 +02:00
|
|
|
mov ecx, MAX_NICK_LEN
|
|
|
|
mov esi, usercommand+6
|
|
|
|
mov edi, user_nick
|
2013-11-01 15:02:08 +01:00
|
|
|
@@:
|
2013-05-28 19:34:26 +02:00
|
|
|
lodsb
|
|
|
|
cmp al, 13
|
2013-11-01 15:02:08 +01:00
|
|
|
je @f
|
2013-05-28 19:34:26 +02:00
|
|
|
stosb
|
|
|
|
dec ecx
|
2013-11-01 15:02:08 +01:00
|
|
|
jnz @r
|
|
|
|
@@:
|
2013-05-28 19:34:26 +02:00
|
|
|
xor al, al
|
|
|
|
stosb
|
|
|
|
|
|
|
|
mov esi, str_nickchange
|
|
|
|
call print_text2
|
|
|
|
mov esi, user_nick
|
|
|
|
call print_text2
|
|
|
|
mov esi, str_dotnewline
|
|
|
|
call print_text2
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cmd_usr_real:
|
|
|
|
|
|
|
|
cmp byte[usercommand+5], ' '
|
|
|
|
jne cmd_usr_send
|
|
|
|
|
|
|
|
mov ecx, MAX_REAL_LEN
|
|
|
|
mov esi, usercommand+6
|
|
|
|
mov edi, user_real_name
|
|
|
|
.loop:
|
|
|
|
lodsb
|
|
|
|
cmp al, 13
|
|
|
|
je .done
|
|
|
|
stosb
|
|
|
|
dec ecx
|
|
|
|
jnz .loop
|
|
|
|
.done:
|
|
|
|
xor al, al
|
|
|
|
stosb
|
|
|
|
|
|
|
|
mov esi, str_realchange
|
|
|
|
call print_text2
|
|
|
|
mov esi, user_real_name
|
|
|
|
call print_text2
|
|
|
|
mov esi, str_dotnewline
|
|
|
|
call print_text2
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cmd_usr_server:
|
|
|
|
|
|
|
|
mov eax, dword[usercommand+5] ; check for 'er ', we only checked 'serv'
|
|
|
|
or eax, 0x00002020
|
|
|
|
and eax, 0x00ffffff
|
|
|
|
cmp eax, 'er '
|
|
|
|
jne cmd_usr_send
|
|
|
|
|
2014-01-18 16:51:43 +01:00
|
|
|
mov ecx, [edit1.size] ; ok now set the address
|
2013-05-28 19:34:26 +02:00
|
|
|
sub ecx, 8
|
|
|
|
|
|
|
|
mov esi, usercommand+8
|
2014-01-18 16:51:43 +01:00
|
|
|
.now:
|
2013-05-28 19:34:26 +02:00
|
|
|
push esi
|
|
|
|
mov edi, irc_server_name
|
2014-01-18 16:51:43 +01:00
|
|
|
.loop: ; copy until zero byte, or ecx reaches zero.
|
|
|
|
lodsb
|
|
|
|
stosb
|
|
|
|
test al, al
|
|
|
|
jz .done
|
|
|
|
dec ecx
|
|
|
|
jnz .loop
|
2013-05-28 19:34:26 +02:00
|
|
|
xor al, al
|
|
|
|
stosb
|
2014-01-18 16:51:43 +01:00
|
|
|
.done:
|
2013-05-28 19:34:26 +02:00
|
|
|
pop esi
|
|
|
|
|
|
|
|
; set it also in window name
|
|
|
|
mov ebx, [window_print]
|
|
|
|
call window_set_name
|
|
|
|
|
|
|
|
; now connect
|
|
|
|
call socket_connect
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
cmd_usr_quer:
|
|
|
|
|
|
|
|
mov esi, usercommand+7
|
2014-01-18 16:51:43 +01:00
|
|
|
call window_open
|
2013-05-28 19:34:26 +02:00
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cmd_usr_help:
|
|
|
|
|
|
|
|
mov esi, str_help
|
|
|
|
call print_text2
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cmd_usr_code:
|
|
|
|
|
|
|
|
; TODO
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-07 16:02:05 +02:00
|
|
|
; User typed a part command
|
|
|
|
cmd_usr_part:
|
|
|
|
|
2013-11-01 15:02:08 +01:00
|
|
|
cmp byte[usercommand+5], 13 ; parameters given?
|
|
|
|
jne cmd_usr_send ; yes, send command straight to server
|
|
|
|
|
|
|
|
; close active window
|
|
|
|
cmd_usr_close_window:
|
2013-10-07 16:02:05 +02:00
|
|
|
|
2013-11-01 15:02:08 +01:00
|
|
|
mov esi, [window_active]
|
|
|
|
mov [window_print], esi
|
2013-10-07 16:02:05 +02:00
|
|
|
cmp [esi + window.type], WINDOWTYPE_SERVER
|
2013-11-01 15:02:08 +01:00
|
|
|
je .not_channel
|
2013-10-07 16:02:05 +02:00
|
|
|
|
2013-11-01 15:02:08 +01:00
|
|
|
lea esi, [esi + window.name]
|
|
|
|
call cmd_usr_part_channel
|
|
|
|
call window_close
|
|
|
|
ret
|
|
|
|
|
|
|
|
.not_channel:
|
|
|
|
cmp [esi + window.type], WINDOWTYPE_CHAT
|
|
|
|
jne .not_chat
|
|
|
|
|
|
|
|
call window_close
|
|
|
|
.not_chat:
|
2013-10-07 16:02:05 +02:00
|
|
|
|
|
|
|
ret
|
|
|
|
|
2013-11-01 15:02:08 +01:00
|
|
|
|
|
|
|
|
2013-10-07 16:02:05 +02:00
|
|
|
; Send part command to server
|
|
|
|
; esi must point to channel name (ASCIIZ)
|
|
|
|
cmd_usr_part_channel:
|
|
|
|
|
|
|
|
; User wants to close a channel, send PART command to server
|
|
|
|
mov dword[packetbuf], 'PART'
|
|
|
|
mov byte[packetbuf+4], ' '
|
|
|
|
lea edi, [packetbuf+5]
|
|
|
|
@@:
|
|
|
|
lodsb
|
|
|
|
test al, al
|
2013-11-01 15:02:08 +01:00
|
|
|
jz @f
|
|
|
|
cmp al, 13
|
|
|
|
je @f
|
|
|
|
cmp al, 10
|
|
|
|
je @f
|
|
|
|
stosb
|
|
|
|
jmp @r
|
|
|
|
@@:
|
2013-10-07 16:02:05 +02:00
|
|
|
; end the command with a CRLF
|
|
|
|
mov ax, 0x0a0d
|
|
|
|
stosw
|
|
|
|
|
|
|
|
lea esi, [edi - packetbuf] ; calculate length
|
|
|
|
mcall send, [socketnum], packetbuf, , 0 ; and finally send to server
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
2014-01-18 16:51:43 +01:00
|
|
|
|
2013-11-01 15:02:08 +01:00
|
|
|
cmd_usr_ctcp:
|
|
|
|
|
|
|
|
cmp byte[usercommand+5], ' '
|
|
|
|
jne cmd_usr_send
|
|
|
|
|
|
|
|
mov esi, usercommand+6
|
|
|
|
; prepare a 'PRIVMSG '
|
|
|
|
mov dword[packetbuf], 'PRIV'
|
|
|
|
mov dword[packetbuf+4], 'MSG '
|
|
|
|
lea edi, [packetbuf+8]
|
|
|
|
|
|
|
|
; append the destination (nickname/channel)
|
|
|
|
@@:
|
|
|
|
lodsb
|
|
|
|
test al, al
|
|
|
|
jz .fail
|
|
|
|
cmp al, ' '
|
|
|
|
je @f
|
|
|
|
stosb
|
|
|
|
jmp @r
|
|
|
|
@@:
|
|
|
|
|
|
|
|
mov ax, ' :'
|
|
|
|
stosw
|
|
|
|
mov al, 0x01
|
|
|
|
stosb
|
|
|
|
|
|
|
|
; copy the message itself
|
|
|
|
@@:
|
|
|
|
lodsb
|
|
|
|
test al, al
|
|
|
|
jz @f
|
|
|
|
cmp al, 13
|
|
|
|
je @f
|
|
|
|
cmp al, 10
|
|
|
|
je @f
|
|
|
|
stosb
|
|
|
|
jmp @r
|
|
|
|
@@:
|
|
|
|
|
|
|
|
; end of message
|
|
|
|
mov al, 0x01
|
|
|
|
stosb
|
|
|
|
mov ax, 0x0a0d
|
|
|
|
stosw
|
|
|
|
|
|
|
|
; now send it away
|
|
|
|
lea esi, [edi - packetbuf] ; calculate length
|
|
|
|
mcall send, [socketnum], packetbuf, , 0 ; and finally send to server
|
|
|
|
|
|
|
|
;; TODO: print to window
|
|
|
|
|
|
|
|
.fail:
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
2014-01-18 16:51:43 +01:00
|
|
|
|
2013-10-07 16:02:05 +02:00
|
|
|
; The user typed some undefined command, just recode it and send to the server
|
2013-05-28 19:34:26 +02:00
|
|
|
cmd_usr_send:
|
|
|
|
|
|
|
|
mov esi, usercommand+1
|
|
|
|
mov ecx, [edit1.size]
|
|
|
|
inc ecx
|
|
|
|
mov edi, packetbuf
|
|
|
|
call recode
|
|
|
|
|
|
|
|
lea esi, [edi - packetbuf]
|
|
|
|
mcall send, [socketnum], packetbuf, , 0
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
2013-11-01 15:02:08 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|