mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
LibCore: Rename Udp classes to UDP
The kernel was already using the UDP prefix, and the TCP LibCore classes are also uppercased. Let's rename for consistency. Also order the LibCore Makefile alphabetically, because everywhere else seems to be doing that :)
This commit is contained in:
parent
149a9ba5d7
commit
5dc5b8a2b6
7 changed files with 47 additions and 47 deletions
|
@ -35,7 +35,7 @@
|
|||
#include <LibCore/File.h>
|
||||
#include <LibCore/LocalServer.h>
|
||||
#include <LibCore/LocalSocket.h>
|
||||
#include <LibCore/UdpSocket.h>
|
||||
#include <LibCore/UDPSocket.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
@ -176,7 +176,7 @@ Vector<String> LookupServer::lookup(const String& hostname, bool& did_timeout, u
|
|||
|
||||
auto buffer = request.to_byte_buffer();
|
||||
|
||||
auto udp_socket = Core::UdpSocket::construct();
|
||||
auto udp_socket = Core::UDPSocket::construct();
|
||||
udp_socket->set_blocking(true);
|
||||
|
||||
struct timeval timeout {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue