Skip to content

hysincense/LoadSaveLuatable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add file ssock.c ssock.h sltable.h sltable.cpp lfs.c lfs.h to lua5.1.5 for extends some lua function

lsf.chdir(path) change current path
lsf.currentdir() return current path lsf.dir(path) Factory of directory iterators
lsf.mkdir(folder) make a dir lsf.rmdir(path) remove a folder

sltable.load(path) load a table from save file and return the table . sltable.save(path,table)save a table to path file.
sltable.delfile(path) remove a file

ssock.bind call native sock bind ssock.accept call native sock accept ssock.connect call native sock connect ssock.send call native sock send ssock.recv call native sock recv ssock.close call native sock close