mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	[Patch #982665 ] add SO_EXCLUSIVEADDRUSE constant
This commit is contained in:
		
							parent
							
								
									5fcefdb326
								
							
						
					
					
						commit
						42851ab490
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -3883,6 +3883,10 @@ init_socket(void)
 | 
				
			||||||
#ifdef	SO_REUSEADDR
 | 
					#ifdef	SO_REUSEADDR
 | 
				
			||||||
	PyModule_AddIntConstant(m, "SO_REUSEADDR", SO_REUSEADDR);
 | 
						PyModule_AddIntConstant(m, "SO_REUSEADDR", SO_REUSEADDR);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					#ifdef SO_EXCLUSIVEADDRUSE
 | 
				
			||||||
 | 
						PyModule_AddIntConstant(m, "SO_EXCLUSIVEADDRUSE", SO_EXCLUSIVEADDRUSE);
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef	SO_KEEPALIVE
 | 
					#ifdef	SO_KEEPALIVE
 | 
				
			||||||
	PyModule_AddIntConstant(m, "SO_KEEPALIVE", SO_KEEPALIVE);
 | 
						PyModule_AddIntConstant(m, "SO_KEEPALIVE", SO_KEEPALIVE);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue