1,5 → 1,21 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
;; ;; |
;; Copyright (C) KolibriOS team 2010-2013. All rights reserved. ;; |
;; Distributed under terms of the GNU General Public License ;; |
;; ;; |
;; tcpserv.asm - TCP demo program for KolibriOS ;; |
;; ;; |
;; Written by hidnplayr@kolibrios.org ;; |
;; ;; |
;; GNU GENERAL PUBLIC LICENSE ;; |
;; Version 2, June 1991 ;; |
;; ;; |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
format binary as "" |
|
BUFFERSIZE = 1500 |
|
use32 |
; standard header |
db 'MENUET01' ; signature |
12,14 → 28,12 |
dd 0 ; path |
|
|
BUFFERSIZE equ 1500 |
; useful includes |
include '../macros.inc' |
include '../../macros.inc' |
purge mov,add,sub |
include '../proc32.inc' |
include '../dll.inc' |
include '../../proc32.inc' |
include '../../dll.inc' |
|
include '../network.inc' |
include '../../network.inc' |
|
; entry point |
start: |