mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:52:44 +00:00 
			
		
		
		
	Kernel: Make Socket inherit from File.
This commit is contained in:
		
							parent
							
								
									03da7046bd
								
							
						
					
					
						commit
						2470fdcd9b
					
				
					 18 changed files with 81 additions and 73 deletions
				
			
		|  | @ -113,6 +113,8 @@ void LocalSocket::attach(FileDescriptor& descriptor) | |||
|     case SocketRole::Connecting: | ||||
|         ++m_connecting_fds_open; | ||||
|         break; | ||||
|     default: | ||||
|         break; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  | @ -131,6 +133,8 @@ void LocalSocket::detach(FileDescriptor& descriptor) | |||
|         ASSERT(m_connecting_fds_open); | ||||
|         --m_connecting_fds_open; | ||||
|         break; | ||||
|     default: | ||||
|         break; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling