summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile: cosmeticsGuido van Rossum1992-08-051-36/+74
| | | | | | | | | | | | | | | | | | | | | | | | | * socketmodule.c: get rid of makepair(); fix makesocketaddr to fix broken recvfrom() * socketmodule: get rid of getStrarg() * ceval.h: move eval_code() to new file eval.h, so compile.h is no longer needed. * ceval.c: move thread comments to ceval.h; always make save/restore thread functions available (for dynloaded modules) * cdmodule.c, listobject.c: don't include compile.h * flmodule.c: include ceval.h * import.c: include eval.h instead of ceval.h * cgen.py: add forground(); noport(); winopen(""); to initgl(). * bltinmodule.c, socketmodule.c, fileobject.c, posixmodule.c, selectmodule.c: adapt to threads (add BGN/END SAVE macros) * stdwinmodule.c: adapt to threads and use a special stdwin lock. * pythonmain.c: don't include getpythonpath(). * pythonrun.c: use BGN/END SAVE instead of direct calls; also more BGN/END SAVE calls etc. * thread.c: bigger stack size for sun; change exit() to _exit() * threadmodule.c: use BGN/END SAVE macros where possible * timemodule.c: adapt better to threads; use BGN/END SAVE; add longsleep internal function if BSD_TIME; cosmetics
* Sometimes, recvfrom() returns an empty address; this is not an error.Guido van Rossum1992-08-051-26/+10
| | | | Also, get rid of makepair() in favor of mkvalue().
* Changes for new UNIX-specific built-in module 'select' and new header forGuido van Rossum1992-06-231-6/+16
| | | | | interfaces to variants of select() system call, "myselect.h". This includes adding fileno() methods to files, sockets and stdwin.
* Some UNIX types want the exact size of the address structureGuido van Rossum1992-06-121-1/+35
|
* Added {get,set}sockopt(). allowbroadcast is now obsolete.Guido van Rossum1992-06-051-2/+54
|
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Lint fixes.Guido van Rossum1992-03-271-3/+5
|
* Cal get*Str*arg() instead of get*str*arg(), until the code is fixed.Guido van Rossum1992-01-271-8/+10
|
* AIX fix.Guido van Rossum1991-11-271-1/+2
|
* Added allowbroadcast()Guido van Rossum1991-10-201-1/+23
|
* Make Socktype global so old and new compilers will like it.Guido van Rossum1991-09-101-6/+4
|
* Add gethostname() and s.avail().Guido van Rossum1991-07-271-3/+52
|
* Connection sockets now have the proper family/type/proto values.Guido van Rossum1991-07-011-5/+8
| | | | | Fix argument handling bug in socket(f,t,p) call. Fix some comments.
* Many changes to the interface, and added comments.Guido van Rossum1991-06-271-78/+326
|
* Initial revisionGuido van Rossum1991-06-251-0/+494